Contents

interpolatedPoints(in:by:)

Returns the slice on-curve points using the floating point range and stride that you specify.

Declaration

func interpolatedPoints(in range: ClosedRange<CGFloat>? = nil, by stride: PKStrokePath.InterpolatedSlice.Stride) -> PKStrokePath.InterpolatedSlice

Parameters

  • range:

    The floating point range for the points of interest.

  • stride:

    The stride component of the current slice.

Return Value

An interpolated slice whose points are within the specified range.

See Also

Accessing and interpolating points