rotate method

rotate

Sets the ‘rotate’ attribute, defining the rotation of the animated element.

Returns

The current instance of SVGAnimateMotionElementBuilder for method chaining.

def rotate(self, degrees):
    ...
ParameterTypeDescription
degreesfloatThe degrees of rotation.

rotate

Sets the ‘rotate’ attribute using a predefined rotation value.

Returns

The current instance of SVGAnimateMotionElementBuilder for method chaining.

def rotate(self, value):
    ...
ParameterTypeDescription
valueRotateThe predefined rotation value.

See Also