Contents

numPoints

The number of vertices in the path.

Declaration

var numPoints: Int { get }

Discussion

You define a path’s vertices when creating it, either directly with the initWithPoints:count:radius:cyclical: initializer or indirectly with the init(graphNodes:radius:) initializer.

See Also

Inspecting a Path’s Shape