nearest
abstract fun nearest(range: ClosedRange<T>, interpolator: Interpolator<T>, progress: Float): Float?(source)
Returns the closest marked value to progress based on the sequence that marks would return for the same range and interpolator.
Return
Parameters
range
of the slider being marked
interpolator
of the slider being marked
progress
to check