Instance Property

path

The path that defines the shape.

Declaration

var path: CGPath? { get set }

Discussion

The path is defined in the node’s coordinate space.

See Also

Creating a Shape from a Path

init(path: CGPath)

Creates a shape node from a Core Graphics path.

init(path: CGPath, centered: Bool)

Creates a shape node from a Core Graphics path, centered around its position.