Aspose::Pdf::Drawing::Rectangle class

Rectangle class

Represents rectangle.

class Rectangle : public Aspose::Pdf::Drawing::Shape

Methods

MethodDescription
CheckBounds(double, double) overrideChecks if the item fits within the given container dimensions (inclusive).
get_Bottom() constGets a float value that indicates the bottom position of the rectangle.
get_Height() constGets a float value that indicates the height of the rectangle.
get_Left() constGets a float value that indicates the left position of the rectangle.
get_RoundedCornerRadius() constGets a float value that indicates the radius of rectangle corners.
get_Width() constGets a float value that indicates the width of the rectangle.
Rectangle(float, float, float, float)Initializes a new instance of the Rectangle class.
set_Bottom(double)Sets a float value that indicates the bottom position of the rectangle.
set_Height(double)Sets a float value that indicates the height of the rectangle.
set_Left(double)Sets a float value that indicates the left position of the rectangle.
set_RoundedCornerRadius(double)Sets a float value that indicates the radius of rectangle corners.
set_Width(double)Sets a float value that indicates the width of the rectangle.

See Also