Contents

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.

See Also

Creating a Shape from a Path