init(cgPath:)
Creates and returns a new Bézier path object with the contents of a Core Graphics path.
Declaration
convenience init(cgPath CGPath: CGPath)Parameters
- CGPath:
The Core Graphics path from which to obtain the initial path information. If this parameter is
nil, the method raises an exception.
Return Value
A new path object with the specified path information.