SKShapeNode.FromPoints 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
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 |
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)
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[]