set_rotate method
set_rotate
Sets the transform type to SVG_TRANSFORM_ROTATE, with parameter angle defining the rotation angle and parameters cx and cy defining the optional center of rotation.
def set_rotate(self, angle, cx, cy):
...
| Parameter | Type | Description |
|---|---|---|
| angle | float | The rotation angle. |
| cx | float | The x coordinate of center of rotation. |
| cy | float | The y coordinate of center of rotation. |
Exceptions
| Exception | Description |
|---|---|
DOMException | Code DOMException.NO_MODIFICATION_ALLOWED_ERR.Raised on an attempt to change the value of a read only attribute. |
See Also
- module
aspose.svg.datatypes - class
DOMException - class
SVGTransform