tween
fun <T> tween(converter: SingleDataConverter<T>, easing: EasingFunction, duration: Measure<Time>, delay: Measure<Time> = zeroMillis): 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
delay
to apply before the animation begins
fun <T : Units> tween(units: T, easing: EasingFunction, duration: Measure<Time>, delay: Measure<Time> = zeroMillis): FiniteNumericAnimationPlan<Measure<T>, Double>(source)
See also
fun <T> tween(converter: MultiDataConverter<T>, easings: (dimension: Int) -> Easing, delay: Measure<Time> = zeroMillis): 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.