VectorizedTweenSpec

Class

Common
public class VectorizedTweenSpec<V : AnimationVector>(
    override val durationMillis: Int = DefaultDurationMillis,
    override val delayMillis: Int = 0,
    public val easing: Easing = FastOutSlowInEasing,
) : VectorizedDurationBasedAnimationSpec<V>

VectorizedTweenSpec animates a AnimationVector value by interpolating the start and end value, in the given durationMillis using the given easing curve.

Parameters

durationMillisduration of the VectorizedTweenSpec animation. Defaults to DefaultDurationMillis.
delayMillisthe amount of time the animation should wait before it starts running, 0 by default.
easingthe easing curve used by the animation. FastOutSlowInEasing by default.