Package com.esri.core.geometry
Interface Polygon.FillRule
- Enclosing class:
Polygon
public static interface Polygon.FillRule
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
odd-even fill rule.static final int
winding fill rule (aka non-zero winding rule).
-
Field Details
-
enumFillRuleOddEven
static final int enumFillRuleOddEvenodd-even fill rule. This is the default value. A point is in the polygon interior if a ray from this point to infinity crosses odd number of segments of the polygon.- See Also:
-
enumFillRuleWinding
static final int enumFillRuleWindingwinding fill rule (aka non-zero winding rule). A point is in the polygon interior if a winding number is not zero. To compute a winding number for a point, draw a ray from this point to infinity. If N is the number of times the ray crosses segments directed up and the M is the number of times it crosses segments directed down, then the winding number is equal to N-M.- See Also:
-