SKShapeNode.FromPath 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 |
|---|---|
| FromPath(CGPath) | |
| FromPath(CGPath, Boolean) |
FromPath(CGPath)
[Foundation.Export("shapeNodeWithPath:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SpriteKit.SKShapeNode FromPath(CoreGraphics.CGPath path);
[<Foundation.Export("shapeNodeWithPath:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromPath : CoreGraphics.CGPath -> SpriteKit.SKShapeNode
Parameters
- path
- CGPath
Returns
- Attributes
Applies to
FromPath(CGPath, Boolean)
[Foundation.Export("shapeNodeWithPath:centered:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public static SpriteKit.SKShapeNode FromPath(CoreGraphics.CGPath path, bool centered);
[<Foundation.Export("shapeNodeWithPath:centered:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
static member FromPath : CoreGraphics.CGPath * bool -> SpriteKit.SKShapeNode
Parameters
- path
- CGPath
- centered
- Boolean
Returns
- Attributes