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.

Instance Properties

Operator Functions

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

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

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software