TransitionFunctions
Functions
- linear(x) ⇒
number
- sine(x) ⇒
number
- easeInQuad(x) ⇒
number
- easeOutQuad(x) ⇒
number
- easeInOutQuad(t) ⇒
number
TransitionFunctions : enum
Kind: global enum
Properties
Name | Type | Default |
---|---|---|
Linear | function | linear |
Sine | function | sine |
EaseIn | function | easeInQuad |
EaseOut | function | easeOutQuad |
EaseInOut | function | easeInOutQuad |
CubicEaseIn | function |
|
linear(x) ⇒ number
Kind: global function
Param | Type |
---|---|
x | number |
sine(x) ⇒ number
Kind: global function
Param | Type |
---|---|
x | number |
easeInQuad(x) ⇒ number
Kind: global function
Param | Type |
---|---|
x | number |
easeOutQuad(x) ⇒ number
Kind: global function
Param | Type |
---|---|
x | number |
easeInOutQuad(t) ⇒ number
Kind: global function
Param | Type |
---|---|
t | number |