DecelerateEasing

class DecelerateEasing(factor: Float = 1.0f) : Easing

This is equivalent to the Android DecelerateInterpolator

Parameters

factor

Degree to which the animation should be eased. Setting factor to 1.0f produces an upside-down y=x^2 parabola. Increasing factor above 1.0f makes exaggerates the ease-out effect (i.e., it starts even faster and ends evens slower)

Constructors

Link copied to clipboard
constructor(factor: Float = 1.0f)

Functions

Link copied to clipboard
open override fun transform(fraction: Float): Float