PdfRectangle Methods |
The PdfRectangle type exposes the following members.
Name | Description | |
---|---|---|
CenterComparer |
Compares centers of rectangles for top-down, left-right sorting.
| |
Contains(PdfPoint) |
Determines if the rectangle contains the specified point.
| |
Contains(PdfRectangle) |
Determines if the current rectangle contains the specified rectangle.
| |
ContainsOrIntersects |
Determines if the current rectangle contains or intersects the specified rectangle.
| |
CopyFrom |
Copy coordinates, BUT NOT THE ANGLE, from another instance of PdfRectangle.
| |
Deflate |
Deflates the rectangle by specified size in each direction.
| |
Equals(Object) |
Compares this instance to the specified object.
(Overrides ObjectEquals(Object).) | |
Equals(PdfRectangle) |
Compares this instance to the specified instance.
| |
Equals(PdfRectangle, Double) |
Compares this instance to the specified other instance
for approximate equality within the given tolerance.
| |
FromXml |
Initializes a new instance from a serialized XML element.
| |
GetHashCode |
Gets a custom hash code for this instance.
(Overrides ObjectGetHashCode.) | |
HorizontalOverlap |
Computes relative horizontal overlap with another rectangle.
| |
HorizontalOverlaps |
Checks whether this rectangle has a horizontal overlap with another rectangle.
| |
Inflate |
Inflates the rectangle by specified size in each direction.
| |
Intersect |
Make this object the intersection of itself with a specified rectangle.
| |
Intersects |
Checks whether this rectangle intersects with the specified rectangle.
| |
Normalize |
Normalizes the rectangle so that Right >= Left and Top >= Bottom.
| |
Rotate |
Rotate rectangle counterclockwise about the origin of
the page where it is defined in 90 degree intervals.
| |
SetEmpty |
Set this object to an empty rectangle with zero sides.
| |
ToArray |
Converts coordinates to an array of double precision numbers.
| |
ToString |
Converts this object to a human-readable string.
(Overrides ObjectToString.) | |
ToXml |
Serializes the current instance as an XML element.
| |
Union |
Merges the specified rectangle into the current one.
| |
VerticalOverlap |
Computes relative vertical overlap with another rectangle.
| |
VerticalOverlaps |
Checks whether this rectangle has a vertical overlap with another rectangle.
|