Type Method

shapeNodeWithEllipseInRect:

Creates a shape node with an elliptical path that fills the specified rectangle.

Declaration

+ (instancetype)shapeNodeWithEllipseInRect:(CGRect)rect;

Parameters

rect

A rectangle, relative to the node’s origin.

Return Value

A new shape node.

See Also

Creating an Ellipse Shape

+ shapeNodeWithEllipseOfSize:

Creates a shape node with an elliptical path centered on the node’s origin.