InternalAnimation

interface InternalAnimation : Animation

Functions

displayNextFrame
Link copied to clipboard
common
abstract fun displayNextFrame(layerable: Layerable): Boolean
Displays the next frame on the given layerable.
equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
removeCurrentFrame
Link copied to clipboard
common
abstract fun removeCurrentFrame()
Removes the current frame from the screen (if it is displayed).
toString
Link copied to clipboard
common
open fun toString(): String

Properties

id
Link copied to clipboard
common
abstract val id: UUID
isLoopedIndefinitely
Link copied to clipboard
common
abstract val isLoopedIndefinitely: Boolean
Tells whether this Animation is looped indefinitely.
loopCount
Link copied to clipboard
common
abstract val loopCount: Int
How many times this Animation will be looped.
tick
Link copied to clipboard
common
abstract val tick: Long
Tells how often an AnimationFrame should be drawn in milliseconds.
totalFrameCount
Link copied to clipboard
common
abstract val totalFrameCount: Int
The total number of frames in this animation (including those which are repeated as well).
uniqueFrameCount
Link copied to clipboard
common
abstract val uniqueFrameCount: Int
The number of AnimationFrames which are in this animation.

Sources

(source)
Link copied to clipboard