Edit

Share via


SKShapeNode.FromEllipse Method

Definition

Overloads

FromEllipse(CGRect)

Creates a new elliptical shape node from the specified rectangle.

FromEllipse(CGSize)

Creates a new elliptical shape node from a size.

FromEllipse(CGRect)

Creates a new elliptical shape node from the specified rectangle.

[Foundation.Export("shapeNodeWithEllipseInRect:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public static SpriteKit.SKShapeNode FromEllipse (CoreGraphics.CGRect rect);
static member FromEllipse : CoreGraphics.CGRect -> SpriteKit.SKShapeNode

Parameters

rect
CGRect

Returns

Attributes

Applies to

FromEllipse(CGSize)

Creates a new elliptical shape node from a size.

[Foundation.Export("shapeNodeWithEllipseOfSize:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public static SpriteKit.SKShapeNode FromEllipse (CoreGraphics.CGSize size);
static member FromEllipse : CoreGraphics.CGSize -> SpriteKit.SKShapeNode

Parameters

size
CGSize

Returns

Attributes

Applies to