PdfClipRegion.IntersectedPaths Property

Gets paths of this PdfClipRegion.

Namespace:  BitMiracle.Docotic.Pdf
Assembly:  BitMiracle.Docotic.Pdf (in BitMiracle.Docotic.Pdf.dll)

Syntax

C#
public PdfCollection<PdfPath> IntersectedPaths { get; }
VB
Public ReadOnly Property IntersectedPaths As PdfCollection(Of PdfPath)
	Get

Property Value

Type: 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.

See Also