## Rotate(*float, [WebMatrixOrder](../../webmatrixorder/)*) {#rotate_1}

Rotates the matrix by the specified angle in the specified order.

```csharp
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](../)
* namespace [Aspose.Html.Drawing](../../../aspose.html.drawing/)
* assembly [Aspose.HTML](../../../)

---

## Rotate(*float*) {#rotate}

Rotates the matrix by the specified angle.

```csharp
public void Rotate(float angle)
```

| Parameter | Type | Description |
| --- | --- | --- |
| angle | Single | The angle of rotation in degrees. |

### See Also

* interface [IMatrix](../)
* namespace [Aspose.Html.Drawing](../../../aspose.html.drawing/)
* assembly [Aspose.HTML](../../../)
