
## rotate {#float}

Adds a rotation to the transformation matrix. The angle argument represents a clockwise rotation angle and is expressed in radians.



```python
def rotate(self, angle):
    ...
```


| Parameter | Type | Description |
| :- | :- | :- |
| angle | float | Represents a clockwise rotation angle expressed in radians. |



### See Also
* module [`aspose.html.dom.canvas`](../../)
* class [`ICanvasRenderingContext2D`](/html/python-net/aspose.html.dom.canvas/icanvasrenderingcontext2d)
