---
title: "RotatedRectangleF Constructor (Single, Single, Single, Single, Single)"
canonical: https://www.graphicsmill.com/docs/gmwc/C_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_RotatedRectangleF_ctor_5_30f94ac0.htm
archived: true
applies_to:
  - product: "Graphics Mill Web Controls"
---

**You’re viewing documentation for an outdated product.** Graphics Mill Web Controls is no longer part of Graphics Mill. For current design editing and rendering tools, see [Design Atoms .NET](https://customerscanvas.com/docs/on-premises/design-atoms-cs/), [Design Atoms JS](https://customerscanvas.com/docs/on-premises/design-atoms-js/), and [Design Editor](https://customerscanvas.com/docs/on-premises/design-editor/).

# RotatedRectangleF Constructor (Single, Single, Single, Single, Single)

**Applies to:** Graphics Mill Web Controls · **Archived documentation**
 
Creates and initializes an instance of the [RotatedRectangleF](https://www.graphicsmill.com/docs/gmwc/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/gmwc/N_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls.VectorObjects (in Aurigma.GraphicsMill.AjaxControls.VectorObjects.dll)
 
## Syntax
  
```csharp
public RotatedRectangleF(float centerX,float centerY,float width,float height,float angle
)
```
 
### Parameters
 
 - centerX
     - Type: [System..Single](http://msdn2.microsoft.com/en-us/library/3www918f)
The x-coordinate of the rotation center of the rectangle to create.

 - centerY
     - Type: [System..Single](http://msdn2.microsoft.com/en-us/library/3www918f)
The y-coordinate of the rotation center of the rectangle to create.

 - width
     - Type: [System..Single](http://msdn2.microsoft.com/en-us/library/3www918f)
The width of the rectangle to create.

 - height
     - Type: [System..Single](http://msdn2.microsoft.com/en-us/library/3www918f)
The height of the rectangle to create.

 - angle
     - Type: [System..Single](http://msdn2.microsoft.com/en-us/library/3www918f)
The rotation angle of the rectangle to create.
   
## See Also

### Reference

- [RotatedRectangleF Class](https://www.graphicsmill.com/docs/gmwc/T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_RotatedRectangleF.htm.md)
- [RotatedRectangleF Overload](https://www.graphicsmill.com/docs/gmwc/O_T_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_RotatedRectangleF_ctor.htm.md)
- [Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math Namespace](https://www.graphicsmill.com/docs/gmwc/N_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math.htm.md)
