Class

VectorizedTweenSpec

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

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free
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

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