Animation

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val fPS: Float
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
expect open val isClosed: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val size: Point
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
expect open fun close()
Link copied to clipboard
fun render(canvas: Canvas): Animation
fun render(canvas: Canvas, offset: Point): Animation
fun render(canvas: Canvas, left: Float, top: Float): Animation
fun render(canvas: Canvas, dst: Rect, vararg renderFlags: RenderFlag): Animation
fun render(canvas: Canvas, left: Float, top: Float, right: Float, bottom: Float, vararg renderFlags: RenderFlag): Animation

Draws the current animation frame

Link copied to clipboard

Updates the animation state for |t|.

Link copied to clipboard

Update the animation state to match |t|, specified as a frame index i.e. relative to [] * [].

Link copied to clipboard

Update the animation state to match t, specifed in frame time i.e. relative to [].

Link copied to clipboard
expect open override fun toString(): String