SKShapeNode.FromSplinePoints Method

Definition

Overloads

FromSplinePoints(CGPoint[])

Creates a new shape node from the specified spline points.

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

Applies to

FromSplinePoints(CGPoint[], Int32, Int32)

public static SpriteKit.SKShapeNode FromSplinePoints (CoreGraphics.CGPoint[] points, int offset, int length);
static member FromSplinePoints : CoreGraphics.CGPoint[] * int * int -> SpriteKit.SKShapeNode

Parameters

points
CGPoint[]
offset
Int32
length
Int32

Returns

Applies to