EasingFunction


Known direct subclasses
EasingFunction.CubicBezier

Parameters for a custom cubic Bezier easing function.

EasingFunction.Linear

Parameters for a custom piecewise-linear easing function.

EasingFunction.Predefined

Predefined easing functions.

EasingFunction.Steps

Parameters for a custom step easing function.


An EasingFunction defines a curve between input x and output y "progress values" similar to the CSS easing function: https://www.w3.org/TR/css-easing-1/#easing-functions

An easing function always passes through the (x, y) points (0, 0) and (1, 1). It typically acts to map x values in the 0, 1 interval to y values in 0, 1 by either one of the predefined or one of the parameterized curve types below. Depending on the type of curve, input and output values outside 0, 1 are possible.

Summary

Nested types

Parameters for a custom cubic Bezier easing function.

Parameters for a custom piecewise-linear easing function.

Predefined easing functions.

Setting to determine the desired output value of the first and last step of [0, 1) for EasingFunction.Steps.

Parameters for a custom step easing function.