move_to method

move_to(new_pin_x, new_pin_y)

Moves shape on new absolute position on the page.

def move_to(self, new_pin_x, new_pin_y):
    ...
ParameterTypeDescription
new_pin_xfloatNew x-coordinate of the shape’s pin (center of rotation) in relation to the origin of its parent.Double.
new_pin_yfloatNew y-coordinate of the shape’s pin (center of rotation) in relation to the origin of its parent.Double.

See Also