KeyFrameBlock

interface KeyFrameBlock<T>(source)

Configuration block used when constructing key-frame animations.

Types

Link copied to clipboard
interface Frame<T>

Defines a single frame within a key-frame animation.

Functions

Link copied to clipboard
abstract infix fun T.at(timeStamp: Measure<Time>): KeyFrameBlock.Frame<T>

Specifies the frame for the animation at timeStamp.

abstract infix fun T.at(fraction: Float): KeyFrameBlock.Frame<T>

Specifies the frame for the animation at fraction of the total animation time.