EasingFunction
public abstract class EasingFunction
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 |
|---|
public final class EasingFunction.CubicBezier extends EasingFunctionParameters for a custom cubic Bezier easing function. |
public final class EasingFunction.Linear extends EasingFunctionParameters for a custom piecewise-linear easing function. |
public final class EasingFunction.Predefined extends EasingFunctionPredefined easing functions. |
public final class EasingFunction.StepPositionSetting to determine the desired output value of the first and last step of [0, 1) for |
public final class EasingFunction.Steps extends EasingFunctionParameters for a custom step easing function. |