AnimatorImpl
Animator implementation that uses a Timer and AnimationScheduler.
Parameters
timer
used to track elapsed time
animationScheduler
that drives the overall ticking of the animator
Properties
Functions
Inherited functions
Link copied to clipboard
operator fun <V, T, K> Animator.invoke(default: T, using: NumericAnimationPlan<T, K>, onChanged: (old: T, new: T) -> Unit = { _,_ -> }): ReadWriteProperty<V, T>
Defines a property that can be animated using the given animation.
operator fun <T, V> Animator.invoke(range: Pair<T, T>, using: NumericAnimationPlan<T, V>, onChanged: (T) -> Unit): Animation<T>
Starts an animation from range.first
to range.second
.