Frame

class Frame<out T>(val delayBefore: Duration, val content: T)

The Frame class represents a single frame in an animation.

Parameters

delayBefore

The delay duration before displaying the content of the frame.

content

The content of the frame. In the end, the content is passed to DisplayHandler.handleDisplay or DisplayHandler.handleUpdate and handled by the dedicated display handler.

T

The type of the content.

Constructors

Link copied to clipboard
constructor(delayBefore: Duration, content: T)

Properties

Link copied to clipboard
val content: T
Link copied to clipboard