keyframes

Creates a KeyframesSpec animation, initialized with init. For example:

Keyframes can also be associated with a particular com.jakewharton.mosaic.animation.Easing function:

Values can be animated using arcs of quarter of an Ellipse with KeyframesSpecConfig.using and com.jakewharton.mosaic.animation.ArcMode:

For a smooth, curvy animation across all the intervals in the keyframes, consider using keyframesWithSpline instead.

Parameters

init

Initialization function for the KeyframesSpec animation

See also