duration

abstract fun duration(start: V, end: V, initialVelocity: Velocity<V>): Measure<Time>(source)

Returns the duration of this animation.

Return

the animation's duration

Parameters

start

value when the animation began

end

value to animate toward

initialVelocity

when the animation began