Initializer

init(ellipseIn:)

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

Declaration

convenience init(ellipseIn rect: CGRect)

Parameters

rect

A rectangle, relative to the node’s origin.

Return Value

A new shape node.

See Also

Creating an Ellipse Shape

init(ellipseOf: CGSize)

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