SKShapeNode.FromEllipse Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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