---
title: "TransformBrush.RotateTransform"
url: "https://reference.aspose.com/imaging/net/aspose.imaging.brushes/transformbrush/rotatetransform/"
product: "Aspose.Imaging for .NET API Reference"
description: "TransformBrush method. Rotates the local geometric transform by the specified amount. This method prepends the rotation to the transform"
---

## RotateTransform(float) {#rotatetransform}

Rotates the local geometric transform by the specified amount. This method prepends the rotation to the transform.

```csharp
public void RotateTransform(float angle)
```

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

### See Also

* class [TransformBrush](../)
* namespace [Aspose.Imaging.Brushes](../../transformbrush/)
* assembly [Aspose.Imaging](../../../)

---

## RotateTransform(float, MatrixOrder) {#rotatetransform_1}

Rotates the local geometric transform by the specified amount in the specified order.

```csharp
public void RotateTransform(float angle, MatrixOrder order)
```

| Parameter | Type | Description |
| --- | --- | --- |
| angle | Single | The angle of rotation. |
| order | MatrixOrder | A [`MatrixOrder`](../../../aspose.imaging/matrixorder/) that specifies whether to append or prepend the rotation matrix. |

### See Also

* enum [MatrixOrder](../../../aspose.imaging/matrixorder/)
* class [TransformBrush](../)
* namespace [Aspose.Imaging.Brushes](../../transformbrush/)
* assembly [Aspose.Imaging](../../../)


