DefaultAnimationFrame

data class DefaultAnimationFrame(size: Size, layers: List<InternalLayer>, repeatCount: Int) : InternalAnimationFrame

Default implementation of the AnimationFrame interface.

Constructors

DefaultAnimationFrame
Link copied to clipboard
common
fun DefaultAnimationFrame(size: Size, layers: List<InternalLayer>, repeatCount: Int)

Functions

component1
Link copied to clipboard
common
operator fun component1(): Size
component2
Link copied to clipboard
common
operator fun component2(): List<InternalLayer>
component3
Link copied to clipboard
common
operator fun component3(): Int
copy
Link copied to clipboard
common
fun copy(size: Size, layers: List<InternalLayer>, repeatCount: Int): DefaultAnimationFrame
displayOn
Link copied to clipboard
common
open override fun displayOn(layerable: Layerable)
Displays this AnimationFrame on the given layerable.
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
remove
Link copied to clipboard
common
open override fun remove()
Removes this AnimationFrame from the display it is visible on (if any).
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

layers
Link copied to clipboard
common
open override val layers: List<InternalLayer>
position
Link copied to clipboard
common
open override var position: Position
The Position at which this AnimationFrame should be drawn.
repeatCount
Link copied to clipboard
common
open override val repeatCount: Int
How many times this frame will be repeated.
size
Link copied to clipboard
common
open override val size: Size

Sources

(source)
Link copied to clipboard