Aspose::Pdf::Drawing::Rectangle class

Rectangle class

Represents rectangle.

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

Methods

MethodDescription
get_Bottom() constGets a float value that indicates the bottom position of the rectangle.
get_GraphInfo() constGets a GraphInfo object that indicates the graph info,such as color, line width,etc.
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_Text() constGets a text for shape.
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_GraphInfo(System::SharedPtr<Aspose::Pdf::GraphInfo>)Sets a GraphInfo object that indicates the graph info,such as color, line width,etc.
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_Text(System::SharedPtr<Aspose::Pdf::Text::TextFragment>)Sets a text for shape.
set_Width(double)Sets a float value that indicates the width of the rectangle.
Shape()

See Also