ShapeFrame constructor

init

Creates new shape frame’s properties.

def __init__(self, x, y, width, height, flip_h, flip_v, rotation_angle):
    ...
ParameterTypeDescription
xfloatX coordinate of a frame.
yfloatY coordinate of a frame.
widthfloatWidth of a frame.
heightfloatHeight of a frame.
flip_hNullableBoolTrue if a frame flipped horizontally.
flip_vNullableBoolTrue if a frame flipped vertivally.
rotation_anglefloatNumber of degrees a frame is rotated.

See Also