Enumeration

CGPathFillRule

Rules for determining which regions are interior to a path, used by the fillPath(using:) and clip(using:) methods.

Declaration

enum CGPathFillRule : Int

Overview

When filling a path, regions that a fill rule defines as interior to the path are painted. When clipping with a path, regions interior to the path remain visible after clipping.

Topics

Enumeration Cases

case evenOdd

A rule that considers a region to be interior to a path based on the number of times it is enclosed by path elements.

case winding

A rule that considers a region to be interior to a path if the winding number for that region is nonzero.

Operator Functions

static func != (CGPathFillRule, CGPathFillRule) -> Bool

Returns a Boolean value indicating whether two values are not equal.