VectorizedKeyframesSpec

constructor(keyframes: Map<Int, Pair<V, Easing>>, durationMillis: Int, delayMillis: Int = 0)

Parameters

keyframes

a map from time to a value/easing function pair. The value in each entry defines the animation value at that time, and the easing curve is used in the interval starting from that time.

durationMillis

total duration of the animation

delayMillis

the amount of the time the animation should wait before it starts. Defaults to 0.