Rectangle Class

Summary:

Module: aspose.gis.common

Full Name: aspose.gis.common.Rectangle

Aspose.PSD Version: 25.9.0

Constructors

NameDescription
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

NameTypeAccessDescription
areadoubler
bottom_leftCoordinater
bottom_rightCoordinater
centerCoordinater
heightdoubler
sizeSizer
top_leftCoordinater
top_rightCoordinater
widthdoubler
xdoubler
ydoubler

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:

ParameterTypeDescription
top_leftCoordinate
sizeSize

Constructor: Rectangle(x, y, width, height)

 Rectangle(x, y, width, height) 

Initializes a new instance of the Rectangle class

Parameters:

ParameterTypeDescription
xdouble
ydouble
widthdouble
heightdouble