---
title: "Graphics.RotateTransform"
url: "https://reference.aspose.com/imaging/net/aspose.imaging/graphics/rotatetransform/"
product: "Aspose.Imaging for .NET API Reference"
description: "Graphics 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 [Graphics](../)
* namespace [Aspose.Imaging](../../graphics/)
* 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`](../../matrixorder/) that specifies whether to append or prepend the rotation matrix. |

### See Also

* enum [MatrixOrder](../../matrixorder/)
* class [Graphics](../)
* namespace [Aspose.Imaging](../../graphics/)
* assembly [Aspose.Imaging](../../../)


