Property IntersectedPaths
- Namespace
- BitMiracle.Docotic.Pdf
- Assembly
- BitMiracle.Docotic.Pdf.dll
IntersectedPaths
Gets paths of this PdfClipRegion.
public PdfCollection<PdfPath> IntersectedPaths { get; }
Property Value
- PdfCollection<PdfPath>
Paths of this PdfClipRegion.
Remarks
Clip region consist of a sequence of intersected paths. Use the following algorithm to calculate the final clipping area:
- Set the current clipping area to an infinite rectangle { -Infinity, -Infinity, Infinity, Infinity }.
- Enumerate paths in the IntersectedPaths collection starting from first element. Order is important.
- Intersect the current clipping area with each PdfPath using the rule defined by ClipMode property. Set the current clipping area to the result of the intersection.
- When all IntersectedPaths are processed, the current clipping area defines which parts lie inside the clip region.