---
title: "RotatedRectangleF Constructor "
canonical: https://www.graphicsmill.com/docs/gm5/C_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_RotatedRectangleF_ctor.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 
 
Creates and initializes an instance of the [RectangleF](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_RectangleF.htm.md) class.
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math](https://www.graphicsmill.com/docs/gm5/N_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.dll)
 
## Syntax
  
```
Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math.RotatedRectangleF = function(centerX, centerY, width, height, angle);
```
 
### Parameters
 
 - centerX
     - Type: Global.Number
The x-coordinate of the rotation center of the rectangle to create.

 - centerY
     - Type: Global.Number
The y-coordinate of the rotation center of the rectangle to create.

 - width
     - Type: Global.Number
The width of the rectangle to create.

 - height
     - Type: Global.Number
The height of the rectangle to create.

 - angle
     - Type: Global.Number
The rotation angle of the rectangle to create.
   
## See Also

### Reference

- [RotatedRectangleF Class](https://www.graphicsmill.com/docs/gm5/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_RotatedRectangleF.htm.md)
- [Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math Namespace](https://www.graphicsmill.com/docs/gm5/N_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math.htm.md)
