Constructor
new Linear()
Creates a new instance of Linear.
- Source:
Methods
(static) easeIn(t, b, c, d) → {number}
Ease in.
Parameters:
Name | Type | Description |
---|---|---|
t |
number | Specifies the current time, between 0 and duration inclusive. |
b |
number | Specifies the initial value of the animation property. |
c |
number | Specifies the total change in the animation property. |
d |
number | Specifies the duration of the motion. |
- Source:
Returns:
The value of the interpolated property at the specified time.
- Type
- number
(static) easeInOut(t, b, c, d) → {number}
Ease in and out.
Parameters:
Name | Type | Description |
---|---|---|
t |
number | Specifies the current time, between 0 and duration inclusive. |
b |
number | Specifies the initial value of the animation property. |
c |
number | Specifies the total change in the animation property. |
d |
number | Specifies the duration of the motion. |
- Source:
Returns:
- Type
- number
(static) easeOut(t, b, c, d) → {number}
Ease out.
Parameters:
Name | Type | Description |
---|---|---|
t |
number | Specifies the current time, between 0 and duration inclusive. |
b |
number | Specifies the initial value of the animation property. |
c |
number | Specifies the total change in the animation property. |
d |
number | Specifies the duration of the motion. |
- Source:
Returns:
- Type
- number