Type Method

shapeNodeWithEllipseOfSize:

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

Declaration

+ (instancetype)shapeNodeWithEllipseOfSize:(CGSize)size;

Parameters

size

The height and width of the ellipse.

Return Value

A new shape node.

See Also

Creating an Ellipse Shape

+ shapeNodeWithEllipseInRect:

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