WindingMode Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Specifies the algorithm used to determine which regions are inside or outside a path for filling.
public enum class WindingMode
public enum WindingMode
type WindingMode =
Public Enum WindingMode
- Inheritance
-
WindingMode
Fields
Name | Value | Description |
---|---|---|
NonZero | 0 | Uses the non-zero winding rule, which fills any region with a non-zero winding number. A point is inside the shape if a ray from that point to infinity crosses path segments with a non-zero net number of clockwise versus counter-clockwise crossings. |
EvenOdd | 1 | Uses the even-odd rule, which fills regions based on alternating crossings. A point is inside the shape if a ray from that point to infinity crosses an odd number of path segments. |