Share via


SKShapeNode.FromPoints Method

Definition

Overloads

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

Creates a new shape node from the specified points.

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