AccelerateEasing

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

This is equivalent to the Android AccelerateInterpolator

Parameters

factor

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

Constructors

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

Functions

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