---
title: "Matrix.CreateRotate Method (Single, Single, Single)"
canonical: https://www.graphicsmill.com/docs/gm/M_Aurigma_GraphicsMill_Transforms_Matrix_CreateRotate_3_8ebc23ce.htm
product: "Graphics Mill"
---

# Matrix.CreateRotate Method (Single, Single, Single)
 
Returns the affine [Matrix](https://www.graphicsmill.com/docs/gm/T_Aurigma_GraphicsMill_Transforms_Matrix.htm.md) of the rotation around the specified point 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,float x,float y
)
```
 
### Parameters
 
 - angle
     - Type: System.Single
The angle of the rotation (in degrees).

 - x
     - Type: System.Single
The x-coordinate of the center of the rotation.

 - y
     - Type: System.Single
The x-coordinate of the center of the rotation.
 
### 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.
   
## 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)
