
**Summary:** 

**Module:** [aspose.gis.common](/psd/python-net/aspose.gis.common/)

**Full Name:** aspose.gis.common.Rectangle

**Aspose.PSD Version:** 25.9.0

## **Constructors**
| **Name** | **Description** |
| :- | :- |
| [Rectangle()](#Rectangle__1) | Initializes a new instance of the Rectangle class |
| [Rectangle(top_left, size)](#Rectangle_top_left_size_2) | Initializes a new instance of the Rectangle class |
| [Rectangle(x, y, width, height)](#Rectangle_x_y_width_height_3) | Initializes a new instance of the Rectangle class |
## **Properties**
| **Name** | **Type** | **Access** | **Description** |
| :- | :- | :- | :- |
| area | double | r |    |
| bottom_left | [Coordinate](/psd/python-net/aspose.gis.common/coordinate) | r |    |
| bottom_right | [Coordinate](/psd/python-net/aspose.gis.common/coordinate) | r |    |
| center | [Coordinate](/psd/python-net/aspose.gis.common/coordinate) | r |    |
| height | double | r |    |
| size | [Size](/psd/python-net/aspose.gis.common/size) | r |    |
| top_left | [Coordinate](/psd/python-net/aspose.gis.common/coordinate) | r |    |
| top_right | [Coordinate](/psd/python-net/aspose.gis.common/coordinate) | r |    |
| width | double | r |    |
| x | double | r |    |
| y | double | r |    |


### Constructor: Rectangle() {#Rectangle__1}


```
 Rectangle() 
```

Initializes a new instance of the Rectangle class

### Constructor: Rectangle(top_left, size) {#Rectangle_top_left_size_2}


```
 Rectangle(top_left, size) 
```

Initializes a new instance of the Rectangle class

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| top_left | [Coordinate](/psd/python-net/aspose.gis.common/coordinate) |  |
| size | [Size](/psd/python-net/aspose.gis.common/size) |  |

### Constructor: Rectangle(x, y, width, height) {#Rectangle_x_y_width_height_3}


```
 Rectangle(x, y, width, height) 
```

Initializes a new instance of the Rectangle class

**Parameters:**

| Parameter | Type | Description |
| :- | :- | :- |
| x | double |  |
| y | double |  |
| width | double |  |
| height | double |  |

