## PdfFillRule Enumeration |

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.

Syntax

Members

Member name | Value | Description | |
---|---|---|---|

NonzeroWindingNumber | 0 | 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. | |

EvenOdd | 1 | 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. |

See Also