kyrie / com.github.alexjlockwood.kyrie / Animation / duration

duration

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.

Parameters

duration - The length of the animation in milliseconds.

Return
This Animation object (to allow for chaining of calls to setter methods).