The PdfRectangle type exposes the following members.

Methods

  NameDescription
Public methodContains(PointF)
Determines if the specified point is contained within this PdfRectangle structure.
Public methodContains(RectangleF)
Determines if the rectangular region represented by rect is entirely contained within this PdfRectangle structure.
Public methodContains(PdfPoint)
Determines if the specified point is contained within this PdfRectangle structure.
Public methodContains(PdfRectangle)
Determines if the rectangular region represented by rect is entirely contained within this PdfRectangle structure.
Public methodContains(Double, Double)
Determines if the specified point is contained within this PdfRectangle structure.
Public methodContains(Single, Single)
Determines if the specified point is contained within this PdfRectangle structure.
Public methodEquals
Tests whether obj is a PdfRectangle with the same location and size of this PdfRectangle.
(Overrides ValueType.Equals(Object).)
Public methodStatic memberFromLTRB(Double, Double, Double, Double)
Creates a PdfRectangle structure with upper-left corner and lower-right corner at the specified locations.
Public methodStatic memberFromLTRB(Single, Single, Single, Single)
Creates a PdfRectangle structure with upper-left corner and lower-right corner at the specified locations.
Public methodGetHashCode
Gets the hash code for this PdfRectangle structure.
(Overrides ValueType.GetHashCode().)
Public methodGetType (Inherited from Object.)
Public methodInflate(SizeF)
Inflates this PdfRectangle by the specified amount.
Public methodInflate(PdfSize)
Inflates this PdfRectangle by the specified amount.
Public methodInflate(Double, Double)
Inflates this PdfRectangle by the specified amount.
Public methodInflate(Single, Single)
Inflates this PdfRectangle by the specified amount.
Public methodStatic memberInflate(PdfRectangle, Double, Double)
Creates and returns an inflated copy of the specified PdfRectangle structure. The copy is inflated by the specified amount. The original rectangle remains unmodified.
Public methodIntersect(RectangleF)
Replaces this PdfRectangle structure with the intersection of itself and the specified RectangleF structure.
Public methodIntersect(PdfRectangle)
Replaces this PdfRectangle structure with the intersection of itself and the specified PdfRectangle structure.
Public methodStatic memberIntersect(PdfRectangle, PdfRectangle)
Returns a PdfRectangle structure that represents the intersection of two rectangles. If there is no intersection, an empty PdfRectangle is returned.
Public methodIntersectsWith(RectangleF)
Determines if this rectangle intersects with rect.
Public methodIntersectsWith(PdfRectangle)
Determines if this rectangle intersects with rect.
Public methodOffset(PointF)
Adjusts the location of this rectangle by the specified amount.
Public methodOffset(PdfPoint)
Adjusts the location of this rectangle by the specified amount.
Public methodOffset(Double, Double)
Adjusts the location of this rectangle by the specified amount.
Public methodOffset(Single, Single)
Adjusts the location of this rectangle by the specified amount.
Public methodToRectangleF
Converts this PdfRectangle to a RectangleF.
Public methodToString()
Converts the Location and Size of this PdfRectangle to a human-readable string.
(Overrides ValueType.ToString().)
Public methodToString(IFormatProvider)
Converts the Location and Size of this PdfRectangle to a human-readable string.
Public methodStatic memberUnion
Creates the smallest possible third rectangle that can contain both of two rectangles that form a union.

See Also