KeyframesWithSplineSpec.KeyframesWithSplineSpecConfig

  • Common/All

Keyframe configuration class for KeyframesWithSplineSpec.

Since keyframesWithSpline uses the values across all the given intervals to calculate the shape of the animation, KeyframesWithSplineSpecConfig does not allow setting a specific ArcMode between intervals (compared to KeyframesSpecConfig used for keyframes).

Summary

Public constructors

Cmn

Inherited functions

open infix KeyframesSpec.KeyframeEntity<T>
T.at(timeStamp: @IntRange(from = 0) Int)

Adds a keyframe so that animation value will be this at time: timeStamp.

Cmn
open infix KeyframesSpec.KeyframeEntity<T>
T.atFraction(fraction: @FloatRange(from = 0.0, to = 1.0) Float)

Adds a keyframe so that the animation value will be the value specified at a fraction of the total durationMillis set.

Cmn
infix KeyframesSpec.KeyframeEntity<T>

Adds an Easing for the interval started with the just provided timestamp.

Cmn

Inherited properties

Int

The amount of time that the animation should be delayed.

Cmn
Int

Duration of the animation in milliseconds.

Cmn

Public constructors

KeyframesWithSplineSpecConfig

<T : Any?> KeyframesWithSplineSpecConfig()