---
title: "RectangleF Constructor "
canonical: https://www.graphicsmill.com/docs/gmwc/C_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_RectangleF_ctor.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/).

# RectangleF Constructor 

**Applies to:** Graphics Mill Web Controls · **Archived documentation**
 
Creates and initializes an instance of the [RectangleF](https://www.graphicsmill.com/docs/gmwc/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_RectangleF.htm.md) class.
 
**Namespace:** [Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math](https://www.graphicsmill.com/docs/gmwc/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.RectangleF = function(left, top, width, height);
```
 
### Parameters
 
 - left
     - Type: Global..Number
The x-coordinate of the left edge of the rectangle to create.

 - top
     - Type: Global..Number
The y-coordinate of the left edge 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.
   
## See Also

### Reference

- [RectangleF Class](https://www.graphicsmill.com/docs/gmwc/T_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math_RectangleF.htm.md)
- [Aurigma.GraphicsMill.AjaxControls.VectorObjects.Math Namespace](https://www.graphicsmill.com/docs/gmwc/N_J_Aurigma_GraphicsMill_AjaxControls_VectorObjects_Math.htm.md)
