
## rotate {#float}

Applies a clockwise rotation of an amount specified in the angle parameter, around the origin (zero x and y coordinates) for this Matrix in the default (Prepend) order.



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


| Parameter | Type | Description |
| :- | :- | :- |
| angle | float | The rotate angle. |


## rotate {#float-aspose.cad.MatrixOrder}

Applies a clockwise rotation of an amount specified in the angle parameter, around the origin (zero x and y coordinates) for this Matrix in the specified order.



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


| Parameter | Type | Description |
| :- | :- | :- |
| angle | float | The rotate angle. |
| order | [`MatrixOrder`](/cad/python-net/aspose.cad/matrixorder) | The matrix order. |



### See Also
* module [`aspose.cad`](../../)
* class [`Matrix`](/cad/python-net/aspose.cad/matrix)
