---
title: "RotatedRectangleF Constructor (Single, Single, Single, Single, Single)"
canonical: https://www.graphicsmill.com/docs/gm5/C_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_RotatedRectangleF_ctor_5_30f94ac0.htm
product: "Graphics Mill 5.5 for .NET"
---

This documentation is for the old version. [Go to the latest Graphics Mill docs](https://www.graphicsmill.com/docs/gm/)

# RotatedRectangleF Constructor (Single, Single, Single, Single, Single)
 
Creates and initializes an instance of the [RotatedRectangleF](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_RotatedRectangleF.htm.md) class using the specified settings.
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.VectorObjects.dll)
 
## Syntax
  
```
Public Sub New ( _centerX As Single, _centerY As Single, _width As Single, _height As Single, _angle As Single _
)
```
 
```csharp
public RotatedRectangleF(float centerX,float centerY,float width,float height,float angle
)
```
 
### Parameters
 
 - centerX
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
The x-coordinate of the rotation center of the rectangle to create.

 - centerY
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
The y-coordinate of the rotation center of the rectangle to create.

 - width
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
The width of the rectangle to create.

 - height
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
The height of the rectangle to create.

 - angle
     - Type: [System.Single](http://msdn2.microsoft.com/en-us/3www918f)
The rotation angle of the rectangle to create.
   
## See Also

### Reference

- [RotatedRectangleF Class](https://www.graphicsmill.com/docs/gm5/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_RotatedRectangleF.htm.md)
- [RotatedRectangleF Overload](https://www.graphicsmill.com/docs/gm5/O_T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_RotatedRectangleF_ctor.htm.md)
- [Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math Namespace](https://www.graphicsmill.com/docs/gm5/N_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math.htm.md)
