Contents

location(atPointIndex:)

Translates a point index into a unit distance along the shape.

Declaration

func location(atPointIndex index: Int) -> CGFloat

Parameters

  • index:

    The index of the map point associated with the shape.

Return Value

A CGFloat value that indicates the unit distance along the shape.

See Also

Accessing the points in the shape