PdfRectangle Methods

The PdfRectangle type exposes the following members.

Methods

  NameDescription
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(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(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
Determines if this rectangle intersects with rect.
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 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.

Extension Methods

  NameDescription
Public Extension MethodContains(PointF)Overloaded.
Determines if the specified point is contained within this PdfRectangle structure.
(Defined by PdfRectangleGdiExtensions.)
Public Extension MethodContains(RectangleF)Overloaded.
Determines if the rectangular region represented by rect is entirely contained within this PdfRectangle structure.
(Defined by PdfRectangleGdiExtensions.)
Public Extension MethodInflate
Inflates this PdfRectangle by the specified amount.
(Defined by PdfRectangleGdiExtensions.)
Public Extension MethodIntersect
Replaces this PdfRectangle structure with the intersection of itself and the specified RectangleF structure.
(Defined by PdfRectangleGdiExtensions.)
Public Extension MethodIntersectsWith
Determines if this rectangle intersects with rect.
(Defined by PdfRectangleGdiExtensions.)
Public Extension MethodOffset
Adjusts the location of this rectangle by the specified amount.
(Defined by PdfRectangleGdiExtensions.)
Public Extension MethodToRectangleF
Converts this PdfRectangle to a RectangleF.
(Defined by PdfRectangleGdiExtensions.)

See Also