Skip to content

FillRule enumeration

Specifies the fill rule used to determine the interior of a path.

public enum FillRule
name value description
NonZero 0 Non-zero winding number rule: a point is inside if the path winds around it at least once. This is the default fill rule (equivalent to SVG nonzero and WPF Nonzero).
EvenOdd 1 Even-odd rule: a point is inside if the path crosses it an odd number of times. Equivalent to the SVG evenodd fill-rule and WPF EvenOdd.