---
title: "rotate method"
url: "https://reference.aspose.com/svg/python-net/aspose.svg.datatypes/svgmatrix/rotate/"
product: "Aspose.SVG for Python via .NET API References"
---


## rotate {#float}

Post-multiplies a rotation transformation on the current matrix and returns the resulting matrix.


### Returns 


The resulting matrix.


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


| Parameter | Type | Description |
| :- | :- | :- |
| angle | float | Rotation angle. |



### See Also
* module [`aspose.svg.datatypes`](../../)
* class [`SVGMatrix`](/svg/python-net/aspose.svg.datatypes/svgmatrix)
