Initializer

init(ellipseOf:)

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

Declaration

convenience init(ellipseOf size: CGSize)

Parameters

size

The height and width of the ellipse.

Return Value

A new shape node.

See Also

Creating an Ellipse Shape

init(ellipseIn: CGRect)

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