---
title: "Rectangle Constructor "
canonical: https://www.graphicsmill.com/docs/gm5/C_J_GraphicsMill_Rectangle_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/)

# Rectangle Constructor 
 
**Namespace:** [GraphicsMill](https://www.graphicsmill.com/docs/gm5/N_J_GraphicsMill.htm.md)
 **Assembly:** Aurigma.GraphicsMill.AjaxControls (in Aurigma.GraphicsMill.AjaxControls.dll)
 
## Syntax
  
```
GraphicsMill.Rectangle = function(x, y, width, height);
```
 
### Parameters
 
 - x
     - Type: Global.Number

 - y
     - Type: Global.Number

 - width
     - Type: Global.Number

 - height
     - Type: Global.Number
   
## See Also

### Reference

- [Rectangle Class](https://www.graphicsmill.com/docs/gm5/T_J_GraphicsMill_Rectangle.htm.md)
- [GraphicsMill Namespace](https://www.graphicsmill.com/docs/gm5/N_J_GraphicsMill.htm.md)
