| casmi.tween.TweenEquation |
Known Indirect Subclasses
BackIn,
BackInOut,
BackOut,
Bounce,
BounceIn,
BounceInOut,
BounceOut,
CircularIn,
CircularInOut,
CircularOut,
CubicIn,
CubicInOut,
CubicOut,
ElasticIn,
ElasticInOut,
and
17 others.
|
Class Overview
Base class for every easing equation. You can create your own equations
and directly use them in the Tween static methods by deriving from this
class.
Summary
| Public Methods |
|
abstract
double
|
compute(double t, double b, double c, double d)
Computes the next value of the interpolation.
|
Public Methods
public
abstract
double
compute
(double t, double b, double c, double d)
Computes the next value of the interpolation.
Parameters
| t
| Current time, in seconds. |
| b
| Initial value. |
| c
| Offset to the initial value. |
| d
| Total duration, in seconds. |