API Documentation > CorelDRAW > 2025-v26
Rectangle class
Rectangle class
Syntax:
Class Rectangle
Remarks:
The Rectangle class represents the rectangle-specific settings for a shape (or Shape object).
Properties:
Name Description
CornerLowerLeft Gets or sets the rectangle's lower left corner roundness
CornerLowerRight Gets or sets the rectangle's lower right corner roundness
CornerType Gets or sets the rectangle's corner type
CornerUpperLeft Gets or sets the rectangle's upper left corner roundness
CornerUpperRight Gets or sets the rectangle's upper right corner roundness
EqualCorners Gets if the corners are equal
MaxRadius Gets the max radius
RadiusLowerLeft Gets or sets the rectangle's lower left Radius
RadiusLowerRight Gets or sets the rectangle's lower right Radius
RadiusUpperLeft Gets or sets the rectangle's upper left Radius
RadiusUpperRight Gets or sets the rectangle's upper right Radius
RelativeCornerScaling Gets or sets the rectangle's corner scaling
Methods:
Name Description
SetRadius Sets the corners radius
SetRoundness Sets the roundness of the corners