tween
fun <T> tween( converter: SingleDataConverter<T>, easing: EasingFunction, duration: Measure<Time>): FiniteNumericAnimationPlan<T, Double>(source)
Creates an animation that manipulates values of type T that are convertable to Double.
Parameters
easing
used to animate the numeric representation
duration
of the animation
fun <T : Units> tween(units: T, easing: EasingFunction, duration: Measure<Time>): FiniteNumericAnimationPlan<Measure<T>, Double>(source)
See also
fun <T> tween(converter: MultiDataConverter<T>, easings: (dimension: Int) -> Easing): FiniteNumericAnimationPlan<T, Array<Double>>(source)
Creates an animation that manipulates values of type T that are convertable to an array of Double. Each dimension of T will be animated using a Easing returned by the easings function.