Rectangle Class
Represents rectangle.
Inheritance Hierarchy
SystemObject
  Aspose.Pdf.DrawingShape
    Aspose.Pdf.DrawingRectangle

Namespace: Aspose.Pdf.Drawing
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 19.11
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
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
See Also