Creates a shape node from a series of points.
- iOS 8.0+
- macOS 10.10+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
An array of Core Graphics points. The points are relative to the node’s origin.
The number of points in the array.
A new shape node. The node is created with a path that starts at the first point in the array, joining each adjacent pair of points with a line segment.