Blinking

data class Blinking(val interval: Long = 500, val repeat: Repeat = Repeat.Continuous, val onBlink: () -> Unit = {}) : DisplayStyle(source)

A blinking display style that makes the text appear and disappear at specified intervals.

Constructors

Link copied to clipboard
constructor(interval: Long = 500, repeat: Repeat = Repeat.Continuous, onBlink: () -> Unit = {})

Properties

Link copied to clipboard

The interval in milliseconds between blinks.

Link copied to clipboard
val onBlink: () -> Unit

Callback invoked every time the text blinks.

Link copied to clipboard

Defines how often the blinking animation repeats.

Functions

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