---
title: "Matrix.CreateRotate Method (Single)"
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Transforms_Matrix_CreateRotate_1_7a94462e.htm
product: "Graphics Mill"
---

# Matrix.CreateRotate Method (Single)
 
Returns the affine [Matrix](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Matrix.htm.md) of the rotation transform.
 
**Namespace:** [Aurigma.GraphicsMill.Transforms](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
 **Assembly:** Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
 
## Syntax
  
```csharp
public static Matrix CreateRotate(float angle
)
```
 
### Parameters
 
 - angle
     - Type: System.Single
The angle of the rotation (in degrees).
 
### Return Value
A [Matrix](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Matrix.htm.md) of the rotation transform.
 
## Remarks
  
The clockwise rotation is applied. Use negative angle value to rotate counter-clockwise.
 
The rotation is applied around the point of origin. To rotate around an arbitrary point, use the [CreateRotate(Single, PointF)](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Transforms_Matrix_CreateRotate_2_222fde3b.htm.md) or the [CreateRotate(Single, Single, Single)](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Transforms_Matrix_CreateRotate_3_8ebc23ce.htm.md) method.
   
## See Also

### Reference

- [Matrix Class](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Matrix.htm.md)
- [CreateRotate Overload](https://www.graphicsmill.com/docs/gm/O_T_Aurigma_GraphicsMill_Transforms_Matrix_CreateRotate.htm.md)
- [Aurigma.GraphicsMill.Transforms Namespace](https://www.graphicsmill.com/docs/gm/N_Aurigma_GraphicsMill_Transforms.htm.md)
- [Matrix.CreateScale(Single, Single)](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Transforms_Matrix_CreateScale_2_427c5821.htm.md)
- [Matrix.CreateTranslate(Single, Single)](https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Transforms_Matrix_CreateTranslate_2_427c5821.htm.md)
