rotate method

rotate

Adds a rotate transform to the builder.

Returns

The current TransformBuilder instance.

def rotate(self, angle, cx, cy):
    ...
ParameterTypeDescription
anglefloatThe rotation angle in degrees.
cxfloatThe x-coordinate of the rotation center. Defaults to 0.
cyfloatThe y-coordinate of the rotation center. Defaults to 0.

See Also