Edit

Share via


SKShapeNode.FromPoints Method

Definition

Overloads

FromPoints(CGPoint, nuint)

Creates a shape node from the specified list of points.

FromPoints(CGPoint[], Int32, Int32)
FromPoints(CGPoint[])

Creates a new shape node from the specified points.

FromPoints(CGPoint, nuint)

Creates a shape node from the specified list of points.

[Foundation.Export("shapeNodeWithPoints: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 FromPoints (ref CoreGraphics.CGPoint points, nuint numPoints);
static member FromPoints :  * nuint -> SpriteKit.SKShapeNode

Parameters

points
CGPoint
numPoints
System.System.UIntPtr System.unativeint

Returns

Attributes

Applies to

FromPoints(CGPoint[], Int32, Int32)

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

Parameters

points
CGPoint[]
offset
Int32
length
Int32

Returns

Applies to

FromPoints(CGPoint[])

Creates a new shape node from the specified points.

public static SpriteKit.SKShapeNode FromPoints (CoreGraphics.CGPoint[] points);
static member FromPoints : CoreGraphics.CGPoint[] -> SpriteKit.SKShapeNode

Parameters

points
CGPoint[]

Returns

Applies to