var duration: Long
Gets the duration of the animation.
Return
The length of the animation in milliseconds.
fun duration(duration: Long): Animation<T, V>
Sets the duration of the animation.
duration
- The length of the animation in milliseconds.
Return
This Animation object (to allow for chaining of calls to setter methods).