Instance Property

path

The path that defines the shape.

Declaration

@property(nonatomic) CGPathRef path;

Discussion

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

See Also

Creating a Shape from a Path

+ shapeNodeWithPath:

Creates a shape node from a Core Graphics path.

+ shapeNodeWithPath:centered:

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