---
title: "CreateRectanglePath Method (Single, Single, Single, Single)"
canonical: https://customerscanvas.com/docs/cc6/M_Aurigma_DesignAtoms_Common_Math_Path_CreateRectanglePath_4_37f6c741.htm
archived: true
applies_to:
  - product: "Customer's Canvas On-Premises"
  - product: "Design Atoms .NET"
    versions: ["6.0.0", "6.x (may differ)"]
---

**You’re viewing outdated documentation.** [View the latest Customer’s Canvas On-Premises documentation](https://customerscanvas.com/docs/on-premises/).

# CreateRectanglePath Method (Single, Single, Single, Single)

**Applies to:** Customer's Canvas On-Premises; Design Atoms .NET 6.0.0, 6.x (may differ) · **Archived documentation**
 
Creates a rectangle at the specified location.
 
**Namespace:** [Aurigma.DesignAtoms.Common.Math](https://customerscanvas.com/docs/cc6/N_Aurigma_DesignAtoms_Common_Math.htm.md) 
 **Assembly:** Aurigma.DesignAtoms (in Aurigma.DesignAtoms.dll)
 
## Syntax
  
```csharp
public static Path CreateRectanglePath(float x,float y,float width,float height
)
```
 
### Parameters
 
 - x
     - Type: System.Single
The x-coordinate of the upper-left corner of the rectangle.

 - y
     - Type: System.Single
The y-coordinate of the upper-left corner of the rectangle.

 - width
     - Type: System.Single
Width of the rectangle.

 - height
     - Type: System.Single
Height of the rectangle.
 
## See Also
  
### Reference
 
- [Path Class](https://customerscanvas.com/docs/cc6/T_Aurigma_DesignAtoms_Common_Math_Path.htm.md)
- [CreateRectanglePath Overload](https://customerscanvas.com/docs/cc6/O_T_Aurigma_DesignAtoms_Common_Math_Path_CreateRectanglePath.htm.md)
- [Aurigma.DesignAtoms.Common.Math Namespace](https://customerscanvas.com/docs/cc6/N_Aurigma_DesignAtoms_Common_Math.htm.md)
