AnimationIterator

A keyframe iterator of animation.

Inheritors

Types

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
enum Type

Functions

Link copied to clipboard
abstract fun clear()
Clears this iterator
Link copied to clipboard
@NotNull
abstract fun first(): AnimationMovement
Gets the first element of animation.
Link copied to clipboard
open fun forEachRemaining(p: Consumer<in E>)
Link copied to clipboard
abstract fun hasNext(): Boolean
Link copied to clipboard
abstract fun index(): Int
Gets current index
Link copied to clipboard
abstract fun lastIndex(): Int
Gets last index of animator
Link copied to clipboard
@NotNull
open fun loop(@NotNull keyFrame: List<AnimationMovement>): AnimationIterator.Loop
Link copied to clipboard
abstract fun next(): E
Link copied to clipboard
@NotNull
open fun playOnce(@NotNull keyFrame: List<AnimationMovement>): AnimationIterator.PlayOnce
Link copied to clipboard
open fun remove()
Link copied to clipboard
@NotNull
abstract fun type(): AnimationIterator.Type