GemBox.Pdf
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    PdfFillRule Enum

    Namespace:
    GemBox.Pdf.Content
    Assembly:
    GemBox.Pdf.dll

    Represents a rule used to specify the interior of the PDF textual or geometrical content that is filled or is part of the clipping area.

    • C#
    • VB.NET
    public enum PdfFillRule
    Public Enum PdfFillRule

    Fields

    EvenOdd

    Rule that determines whether a point is in the interior of the PDF textual or geometrical content by drawing a ray from that point to infinity in any direction and counting the number of outlines within the given PDF textual or geometrical content that the ray crosses. If this number is odd, the point is inside; if even, the point is outside.

    NonzeroWindingNumber

    Rule that determines whether a point is in the interior of the PDF textual or geometrical content by drawing a ray from that point to infinity in any direction and then examining the places where an outline of the PDF textual or geometrical content crosses the ray. Starting with a count of zero, add one each time an outline crosses the ray from left to right and subtract one each time a PDF textual or geometrical content outline crosses the ray from right to left. After counting the crossings, if the result is zero then the point is outside the PDF textual or geometrical content. Otherwise, it is inside.

    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.