FillRule
public enum FillRule
Rules for determining which regions are interior to a path, used by the DrawingContext.clip(to:rule:_:)
and DrawingContext.fill(_:rule:stroke:)
methods.
-
A rule that considers a region to be interior to a path based on the number of times it is enclosed by path elements.
Declaration
Swift
case evenOdd
-
A rule that considers a region to be interior to a path if the winding number for that region is nonzero.
Declaration
Swift
case winding