EaseFunction typedef
The EaseFunction is the function signature for transitions used in the Tween and Transition classes. The function takes the ration between 0.0 and 1.0 and returns the actual progress of the transition.
See also: TransitionFunction, Tween, Transition
Examples:
// a linear transition
var transition = (ratio) => ratio;
// a quadratic transtion
var transition = (ratio) => ratio * ratio;
typedef num EaseFunction(num ratio);