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
| Name | Description |
|---|---|
| FromEllipse(CGRect) | |
| FromEllipse(CGSize) |
FromEllipse(CGRect)
[Foundation.Export("shapeNodeWithEllipseInRect:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SpriteKit.SKShapeNode FromEllipse(CoreGraphics.CGRect rect);
[<Foundation.Export("shapeNodeWithEllipseInRect:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromEllipse : CoreGraphics.CGRect -> SpriteKit.SKShapeNode
Parameters
- rect
- CGRect
Returns
- Attributes
Applies to
FromEllipse(CGSize)
[Foundation.Export("shapeNodeWithEllipseOfSize:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SpriteKit.SKShapeNode FromEllipse(CoreGraphics.CGSize size);
[<Foundation.Export("shapeNodeWithEllipseOfSize:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromEllipse : CoreGraphics.CGSize -> SpriteKit.SKShapeNode
Parameters
- size
- CGSize
Returns
- Attributes