init(path:)
Creates a shape node from a Core Graphics path.
Declaration
convenience init(path: CGPath)Parameters
- path:
The Core Graphics path to use. The path is relative to the node’s origin.
Return Value
A new shape node.
Creates a shape node from a Core Graphics path.
convenience init(path: CGPath)The Core Graphics path to use. The path is relative to the node’s origin.
A new shape node.