AnimationBuilder

class AnimationBuilder<T>(frames: List<T>)

An Animation builder to help create custom animations easily.

See also

Constructors

Link copied to clipboard
fun <T> AnimationBuilder(frames: List<T>)

Functions

Link copied to clipboard
fun build(): Animation<T>
Link copied to clipboard
fun frames(index: Int = 0, repeats: Int = 0, frameTime: Duration = 100.milliseconds)
fun frames(indices: IntRange = 0..frames.size, repeats: Int = 0, frameTime: Duration = 100.milliseconds)