## 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 (extent) of rotation. |

### See Also

* class [PathGradientBrush](../)
* namespace [System.Drawing.Drawing2D](../../pathgradientbrush/)
* assembly [Aspose.Drawing](../../../)

---

## 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 (extent) of rotation. |
| order | MatrixOrder | A MatrixOrder that specifies whether to append or prepend the rotation matrix. |

### See Also

* enum [MatrixOrder](../../matrixorder/)
* class [PathGradientBrush](../)
* namespace [System.Drawing.Drawing2D](../../pathgradientbrush/)
* assembly [Aspose.Drawing](../../../)


