The GraphicsPathWinding class provides values for the openfl.display.GraphicsPath.winding property and the openfl.display.Graphics.drawPath() method to determine the direction to draw a path. A clockwise path is positively wound, and a counter-clockwise path is negatively wound:

When paths intersect or overlap, the winding direction determines the rules for filling the areas created by the intersection or overlap:

Variables

@:value(cast "evenOdd")@:enum@:implinlineread onlyEVEN_ODD:GraphicsPathWinding = "evenOdd"

@:value(cast "nonZero")@:enum@:implinlineread onlyNON_ZERO:GraphicsPathWinding = "nonZero"