Rect Class |
Namespace: pdftron.PDF
public sealed class Rect : IClosable
The Rect type exposes the following members.
Name | Description | |
---|---|---|
![]() | Rect |
Rect default constructor.
|
![]() | Rect(Obj) | Create a Rect and initialize it using given Cos/SDF rectangle Array object.
The rect is attached to this object.
|
![]() | Rect(Double, Double, Double, Double) |
Creates a Rect and initialize it using specified parameters.
|
Name | Description | |
---|---|---|
![]() | x1 |
Gets or sets the x coordinate of the bottom left corner.
|
![]() | x2 |
Gets or sets the x coordinate of the top right corner.
|
![]() | y1 |
Gets or sets the y coordinate of the bottom left corner.
|
![]() | y2 |
Gets or sets the y coordinate of the top right corner.
|
Name | Description | |
---|---|---|
![]() | Attach |
Attaches the Cos/SDF object to the Rect.
|
![]() | Close | |
![]() | Contains |
Determines if the specified point is contained within the rectangular region
defined by this Rectangle.
|
![]() | Equals | (Inherited from Object.) |
![]() | Get |
Gets the rectangle coordinates.
|
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | Height |
Gets the height of this Rect.
|
![]() | Inflate(Double) |
Inflates this Rect.
|
![]() | Inflate(Double, Double) |
Inflates this Rect with the specified x and y values.
|
![]() | IntersectRect |
Makes a Rect equal to the intersection of two existing rectangles.
|
![]() | Normalize |
Normalizes the rectagle to the one with lower-left and upper-right corners.
|
![]() | Set(Rect) |
Set the coordinates of the rectangle.
|
![]() | Set(Double, Double, Double, Double) |
Sets the coordinates of the rectangle.
|
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
![]() | Update |
Saves changes made to the Rect object in the attached (or specified) SDF/Cos rectangle.
|
![]() | Update(Obj) |
Saves changes made to the Rect object in the attached (or specified) SDF/Cos rectangle.
|
![]() | Width |
Gets the width of this Rect.
|