init(path:)
Initializes a new region using a Core Graphics path.
Declaration
init(path: CGPath)Parameters
- path:
A path that defines the new region’s shape. The path is assumed to use the even-odd winding rule.
Return Value
A newly initialized region.