AnimationFrame

interface AnimationFrame

An interface to contain the information needed for Animations.

Since

2.0.0

Properties

fadeIn
Link copied to clipboard
abstract var fadeIn: Int

If the frame is used in a title or subtitle, then this will be the time it takes for the title to fade onto the screen.

fadeOut
Link copied to clipboard
abstract var fadeOut: Int

If the frame is used in a title or subtitle, then this will be the time it takes for the title to fade off of the screen.

stay
Link copied to clipboard
abstract var stay: Int

The time the frame should be shown.

text
Link copied to clipboard
abstract var text: String

The text.

totalTime
Link copied to clipboard
abstract val totalTime: Int

The combined time the frame should stay on the screen. (A combination of .fadeIn, .stay, .fadeOut)

Sources

jvm source
Link copied to clipboard