Method Intersect
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
Intersect(PdfRectangle, PdfRectangle)
Returns a PdfRectangle structure that represents the intersection of two rectangles. If there is no intersection, an empty PdfRectangle is returned.
public static PdfRectangle Intersect(PdfRectangle a, PdfRectangle b)
Parameters
aPdfRectangleFirst rectangle to intersect.
bPdfRectangleSecond rectangle to intersect.
Returns
- PdfRectangle
A PdfRectangle structure that represents the intersection of two rectangles. If there is no intersection, an empty PdfRectangle is returned.
Intersect(PdfRectangle)
Replaces this PdfRectangle structure with the intersection of itself and the specified PdfRectangle structure.
public void Intersect(PdfRectangle rect)
Parameters
rectPdfRectangleThe rectangle to intersect.