Table of Contents

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:

  1. Set the current clipping area to an infinite rectangle { -Infinity, -Infinity, Infinity, Infinity }.
  2. Enumerate paths in the IntersectedPaths collection starting from first element. Order is important.
  3. 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.
  4. When all IntersectedPaths are processed, the current clipping area defines which parts lie inside the clip region.