AnimationFrame

interface AnimationFrame

An interface to contain the information needed for Animations.

Since

2.0.0

Properties

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.

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.

Link copied to clipboard
abstract var stay: Int

The time the frame should be shown.

Link copied to clipboard
abstract var text: String

The text.

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

Link copied to clipboard