PolygonFill

<< Click to Display Table of Contents >>

 

PolygonFill

Enum This property configures the fill mode of a Curved Polygon's area. To determine whether this area must be filled or not, a line is drawn starting at a p point towards infinity without crossing any vertexes. Possible values for this property are the following:

0 - Alternate: If the drawn line crosses an odd number of lines, the Curved Polygon's area is then filled. Otherwise, the Curved Polygon's area is not filled

1 - Winding: In this mode, a counter is defined to determine whether the area is inside or outside the Curved Polygon. If the Curved Polygon's line crosses the drawn line clockwise, then 1 (one) is subtracted from this counter. If the Curved Polygon's line crosses the drawn line counterclockwise, then 1 (one) is added to this counter. If at the end this counter is equal to 0 (zero), the area is not inside the Curved Polygon and therefore not filled. If the counter is different from 0 (zero), the area is inside the Curved Polygon and therefore it is filled

Was this page useful?