다음을 통해 공유


WindingMode Enum

Definition

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.

Applies to