Easings Class
Holds different easing types and helper methods.
Item Index
Methods
Properties
- BY_INDEX static
- BY_STRING static
- EASE_CIRCULAR static
- EASE_CUBIC static
- EASE_EXPONENTIAL static
- EASE_FUNCTIONS static
- EASE_LINEAR static
- EASE_QUADRATIC static
- EASE_QUARTIC static
- EASE_QUINTIC static
- EASE_SINUSOIDAL static
Methods
fromObject
(
-
obj
Parameters:
-
obj
Object- The easing data-object.
fromString
(
-
s
Parameters:
-
s
String- The easing string like "quad_in" for example.
fromValues
(
-
index
-
inOut
Parameters:
-
index
Number- The index.
-
inOut
Number- The in-out value.
Properties
BY_INDEX
Number[]
final
static
BY_STRING
Object
final
static
EASE_CIRCULAR
Number[]
final
static
EASE_CUBIC
Number[]
final
static
EASE_EXPONENTIAL
Number[]
final
static
EASE_FUNCTIONS
Function[]
final
static
Contains all easing functions by type and in/out.