windingRule
The winding rule for the path (same as in SVGs). This determines whether a given point in space is inside or outside the path.
Signature
windingRule: WindingRule | 'NONE' [readonly]
Remarks
type WindingRule = "NONZERO" | "EVENODD"
Winding rules work off a concept called the winding number, which tells you for a given point how many times the path winds around that point. This is described in much more detail here. This field can have three possible values:
"NONZERO"
: The point is considered inside the path if the winding number is NONZERO."EVENODD"
: The point is considered inside the path if the winding number is odd."NONE"
: An open path won’t have a fill.