PathFragment.NonZeroWindingRule Property
Gets or sets whether the non-zero winding rule is used to determine the interior of the path fragment.
Namespace: DevExpress.Docs.Pdf
Assembly: DevExpress.Docs.Pdf.v26.1.dll
Declaration
Property Value
| Type | Description |
|---|---|
| Boolean |
|
Remarks
The non-zero winding rule determines which areas of a path are filled. To check whether a point is inside the path, draw a ray from the point to infinity and count how many times the path crosses the ray. Segments that cross from left to right add 1, and segments that cross from right to left subtract 1. If the final count is non-zero, the point is inside the path.
When this property is set to false, the even-odd rule is used instead, where a point is inside the path if the ray crosses the path an odd number of times.