SKShapeNode.FromSplinePoints 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
FromSplinePoints(CGPoint[]) |
Creates a new shape node from the specified spline |
FromSplinePoints(CGPoint, nuint) |
Creates a shape node that represents a quadratic spline curve through the specified points. |
FromSplinePoints(CGPoint[], Int32, Int32) |
FromSplinePoints(CGPoint[])
Creates a new shape node from the specified spline points
.
public static SpriteKit.SKShapeNode FromSplinePoints (CoreGraphics.CGPoint[] points);
static member FromSplinePoints : CoreGraphics.CGPoint[] -> SpriteKit.SKShapeNode
Parameters
- points
- CGPoint[]
Returns
Applies to
FromSplinePoints(CGPoint, nuint)
Creates a shape node that represents a quadratic spline curve through the specified points.
[Foundation.Export("shapeNodeWithSplinePoints:count:")]
[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 FromSplinePoints (ref CoreGraphics.CGPoint points, nuint numPoints);
static member FromSplinePoints : * nuint -> SpriteKit.SKShapeNode
Parameters
- points
- CGPoint
- numPoints
- System.System.UIntPtr System.unativeint
Returns
- Attributes