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.InterpolatedSliceParameters
- 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.