ArcAnimationSpec
DurationBasedAnimationSpec that interpolates 2-dimensional values using arcs of quarter of an Ellipse.
To interpolate with keyframes use KeyframesSpecConfig.using with an com.jakewharton.mosaic.animation.ArcMode.
As such, it's recommended that ArcAnimationSpec is only used for positional values such as: IntOffset.
The orientation of the arc is indicated by the given mode.
Do note, that if the target value being animated only changes in one dimension, you'll only be able to get a linear curve.
Similarly, one-dimensional values will always only interpolate on a linear curve.
Parameters
Orientation of the arc.
Duration of the animation. AnimationConstants.DefaultDurationMillis by default.
Time the animation waits before starting. 0 by default.
Easing applied on the animation curve. FastOutSlowInEasing by default.
See also
Functions
Creates a com.jakewharton.mosaic.animation.VectorizedAnimationSpec with the given com.jakewharton.mosaic.animation.TwoWayConverter.