MultiInterpolator

Multi-interpolator for values of type R, from parameter value of type T.

Multi-interpolator is an interpolator which can interpolate between more than two values.

Since

v2.0.0

Inheritors

Functions

Link copied to clipboard
abstract operator fun get(parameterValue: T): R

Returns interpolated value for given parameterValue.

Link copied to clipboard
fun <T : Number, Comparable<T>, R1, R2> Interpolator<T, R1>.map(transform: (R1) -> R2): Interpolator<T, R2>

Returns a mapping interpolator, returning values from this interpolator, transformed using given transform function.

Properties

Link copied to clipboard
open override val endValue: R

Key value of this interpolator at parameter 1.

Link copied to clipboard
open override val startValue: R

Key value of this interpolator at parameter 0.

Link copied to clipboard
abstract val values: List<R>

Key values to interpolate between.