Contents

point(at:)

Returns the 2D point at the specified index in the path’s list of vertices.

Declaration

func point(at index: Int) -> vector_float2

Parameters

  • index:

    The index of the vertex to return, between 0 and the Numpoints value.

Return Value

The vertex at the specified index.

See Also

Inspecting a Path’s Shape