Interface

VectorizedDurationBasedAnimationSpec

Base class for VectorizedAnimationSpecs that are based on a fixed durationMillis.

Source set: Common
@JvmDefaultWithCompatibility
public interface VectorizedDurationBasedAnimationSpec<V : AnimationVector> :
    VectorizedFiniteAnimationSpec<V>

Base class for VectorizedAnimationSpecs that are based on a fixed durationMillis.

Properties

durationMillis

Source set: Common
public val durationMillis: Int

duration is the amount of time while animation is not yet finished.

delayMillis

Source set: Common
public val delayMillis: Int

delay defines the amount of time that animation can be delayed.

Functions

getDurationNanos

override fun getDurationNanos(initialValue: V, targetValue: V, initialVelocity: V): Long

Last updated: