Contents

interpolatedPoint(at:)

Returns the on-curve point for the provided floating point parameter.

Declaration

func interpolatedPoint(at parametricValue: CGFloat) -> PKStrokePoint

Parameters

  • parametricValue:

    The on-curve location [0, count-1] where interpolation occurs.

Return Value

A PKStrokePoint interpolated from the supplied parametricValue.

See Also

Accessing and interpolating points