
## set_rotate {#float-float-float}

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.



```python
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`](/html/python-net/aspose.html.dom/domexception) | Code [`DOMException.NO_MODIFICATION_ALLOWED_ERR`](/html/python-net/aspose.html.dom/domexception). <br/>Raised on an attempt to change the value of a read only attribute. |





### See Also
* module [`aspose.html.dom.svg.datatypes`](../../)
* class [`DOMException`](/html/python-net/aspose.html.dom/domexception)
* class [`SVGTransform`](/html/python-net/aspose.html.dom.svg.datatypes/svgtransform)
