Direction
public enum Direction : UInt32
PathDirection describes whether contour is clockwise or counterclockwise.
When Path contains multiple overlapping contours, PathDirection together with
FillType determines whether overlaps are filled or form holes.
PathDirection also determines how contour is measured. For instance, dashing
measures along Path to determine where to start and stop stroke; PathDirection
will change dashed results as it steps clockwise or counterclockwise.
Closed contours like Rect, RRect, circle, and oval added with
.clockwise travel clockwise; the same added with .counterclockwise
travel counterclockwise.
-
Undocumented
Declaration
Swift
case clockwise = 0 -
Undocumented
Declaration
Swift
case counterClockwise = 1
View on GitHub
Install in Dash
Direction Enumeration Reference