Rectangle Class
Represents rectangle.
Inheritance Hierarchy

Namespace: Aspose.Pdf.Drawing
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 20.3
Syntax
public sealed class Rectangle : Shape

The Rectangle type exposes the following members.

Constructors
  NameDescription
Public methodRectangle
Initializes a new instance of the Rectangle class.
Properties
  NameDescription
Public propertyBottom
Gets or sets a float value that indicates the bottom position of the rectangle.
Public propertyGraphInfo
Gets or sets a GraphInfo object that indicates the graph info,such as color, line width,etc.
(Inherited from Shape.)
Public propertyHeight
Gets or sets a float value that indicates the height of the rectangle.
Public propertyLeft
Gets or sets a float value that indicates the left position of the rectangle.
Public propertyRoundedCornerRadius
Gets or sets a float value that indicates the radius of rectangle corners.
Public propertyText
Gets or sets a text for shape
(Inherited from Shape.)
Public propertyWidth
Gets or sets a float value that indicates the width of the rectangle.
Methods
  NameDescription
Public methodEquals (Inherited from Object.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
See Also