Rectangle Class
Contents
[
Hide
]Summary:
Module: aspose.gis.common
Full Name: aspose.gis.common.Rectangle
Aspose.PSD Version: 25.9.0
Constructors
| Name | Description |
|---|---|
| Rectangle() | Initializes a new instance of the Rectangle class |
| Rectangle(top_left, size) | Initializes a new instance of the Rectangle class |
| Rectangle(x, y, width, height) | Initializes a new instance of the Rectangle class |
Properties
| Name | Type | Access | Description |
|---|---|---|---|
| area | double | r | |
| bottom_left | Coordinate | r | |
| bottom_right | Coordinate | r | |
| center | Coordinate | r | |
| height | double | r | |
| size | Size | r | |
| top_left | Coordinate | r | |
| top_right | Coordinate | r | |
| width | double | r | |
| x | double | r | |
| y | double | r |
Constructor: Rectangle()
Rectangle()
Initializes a new instance of the Rectangle class
Constructor: Rectangle(top_left, size)
Rectangle(top_left, size)
Initializes a new instance of the Rectangle class
Parameters:
| Parameter | Type | Description |
|---|---|---|
| top_left | Coordinate | |
| size | Size |
Constructor: Rectangle(x, y, width, height)
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 |