## Rotate(float, WebMatrixOrder) {#rotate_1}

Rotates the matrix by the specified angle in the specified order.

```java
public void Rotate(float angle, WebMatrixOrder order)
```

| Parameter | Type | Description |
| --- | --- | --- |
| angle | Single | The angle of rotation in degrees. |
| order | WebMatrixOrder | The order in which rotation is applied. |

### See Also

* enum [WebMatrixOrder](../../webmatrixorder/)
* interface [IMatrix](../)
* package [com.aspose.html.drawing](../../../com.aspose.html.drawing/)
* package [Aspose.HTML](../../../)

---

## Rotate(float) {#rotate}

Rotates the matrix by the specified angle.

```java
public void Rotate(float angle)
```

| Parameter | Type | Description |
| --- | --- | --- |
| angle | Single | The angle of rotation in degrees. |

### See Also

* interface [IMatrix](../)
* package [com.aspose.html.drawing](../../../com.aspose.html.drawing/)
* package [Aspose.HTML](../../../)
