ReversableAnimatedValueInterpolator

A TimeInterpolator that reverses the animated values of the provided source .

Constructors

Link copied to clipboard
constructor(@NonNull sourceInterpolator: TimeInterpolator)

Functions

Link copied to clipboard
open fun getInterpolation(input: Float): Float
Link copied to clipboard
open fun of(useSourceInterpolator: Boolean, @NonNull sourceInterpolator: TimeInterpolator): TimeInterpolator
A helper method that returns the source TimeInterpolator unaffected or a reversed version of the source TimeInterpolator, depending on the value of the useSourceInterpolator parameter.