public abstract class Animator extends Animation
Animation class.
The EasingFunction replaces the interpolation of the
Animation's progress.| Constructor and Description |
|---|
Animator() |
| Modifier and Type | Method and Description |
|---|---|
EasingFunction |
getEasing()
Returns the
EasingFunction used in this animation. |
void |
run(int duration,
double startTime,
EasingFunction easing)
Calls
Animation.run(int, double) and sets the
EasingFunction to be used in the animation. |
void |
run(int duration,
EasingFunction easing)
Calls
Animation.run(int) and sets the EasingFunction to be
used in the animation. |
void |
setEasing(EasingFunction easing)
Sets the
EasingFunction that the animation will use. |
public EasingFunction getEasing()
EasingFunction used in this animation.EasingFunction used in this animationpublic void run(int duration,
double startTime,
EasingFunction easing)
Animation.run(int, double) and sets the
EasingFunction to be used in the animation.public void run(int duration,
EasingFunction easing)
Animation.run(int) and sets the EasingFunction to be
used in the animation.public void setEasing(EasingFunction easing)
EasingFunction that the animation will use.easing - the EasingFunction that the animation will useCopyright © 2012. All Rights Reserved.