Properties
Static EASE_IN
EASE_IN: string
Static EASE_IN_BACK
EASE_IN_BACK: string
Static EASE_IN_BOUNCE
EASE_IN_BOUNCE: string
Static EASE_IN_ELASTIC
EASE_IN_ELASTIC: string
Static EASE_IN_OUT
EASE_IN_OUT: string
Static EASE_IN_OUT_BACK
EASE_IN_OUT_BACK: string
Static EASE_IN_OUT_BOUNCE
EASE_IN_OUT_BOUNCE: string
Static EASE_IN_OUT_ELASTIC
EASE_IN_OUT_ELASTIC: string
Static EASE_OUT
EASE_OUT: string
Static EASE_OUT_BACK
EASE_OUT_BACK: string
Static EASE_OUT_BOUNCE
EASE_OUT_BOUNCE: string
Static EASE_OUT_ELASTIC
EASE_OUT_ELASTIC: string
Static EASE_OUT_IN
EASE_OUT_IN: string
Static EASE_OUT_IN_BACK
EASE_OUT_IN_BACK: string
Static EASE_OUT_IN_BOUNCE
EASE_OUT_IN_BOUNCE: string
Static EASE_OUT_IN_ELASTIC
EASE_OUT_IN_ELASTIC: string
Static LINEAR
LINEAR: string
The Transitions class contains static methods that define easing functions. Those functions are used by the Tween class to execute animations.
Here is a visual representation of the available transitions:
You can define your own transitions through the "registerTransition" function. A transition must have the following signature, where
ratio
is in the range 0-1: