Click or drag to resize

PdfRectangle Methods

The PdfRectangle type exposes the following members.

Methods
  NameDescription
Public methodStatic memberCenterComparer
Compares centers of rectangles for top-down, left-right sorting.
Public methodContains(PdfPoint)
Determines if the rectangle contains the specified point.
Public methodContains(PdfRectangle)
Determines if the current rectangle contains the specified rectangle.
Public methodContainsOrIntersects
Determines if the current rectangle contains or intersects the specified rectangle.
Public methodCopyFrom
Copy coordinates, BUT NOT THE ANGLE, from another instance of PdfRectangle.
Public methodDeflate
Deflates the rectangle by specified size in each direction.
Public methodEquals(Object)
Compares this instance to the specified object.
(Overrides ObjectEquals(Object).)
Public methodEquals(PdfRectangle)
Compares this instance to the specified instance.
Public methodEquals(PdfRectangle, Double)
Compares this instance to the specified other instance for approximate equality within the given tolerance.
Public methodFromXml
Initializes a new instance from a serialized XML element.
Public methodGetHashCode
Gets a custom hash code for this instance.
(Overrides ObjectGetHashCode.)
Public methodHorizontalOverlap
Computes relative horizontal overlap with another rectangle.
Public methodHorizontalOverlaps
Checks whether this rectangle has a horizontal overlap with another rectangle.
Public methodInflate
Inflates the rectangle by specified size in each direction.
Public methodIntersect
Make this object the intersection of itself with a specified rectangle.
Public methodIntersects
Checks whether this rectangle intersects with the specified rectangle.
Public methodNormalize
Normalizes the rectangle so that Right >= Left and Top >= Bottom.
Public methodRotate
Rotate rectangle counterclockwise about the origin of the page where it is defined in 90 degree intervals.
Public methodSetEmpty
Set this object to an empty rectangle with zero sides.
Public methodToArray
Converts coordinates to an array of double precision numbers.
Public methodToString
Converts this object to a human-readable string.
(Overrides ObjectToString.)
Public methodToXml
Serializes the current instance as an XML element.
Public methodUnion
Merges the specified rectangle into the current one.
Public methodVerticalOverlap
Computes relative vertical overlap with another rectangle.
Public methodVerticalOverlaps
Checks whether this rectangle has a vertical overlap with another rectangle.
Top
See Also