public interface Animatable
This interface provides a common set of utilities for items which can be animated. While it is intended to be used for renderers, it can be used for other purposes as well.
This class is still in development and experimentation. Methods may change or be added.
Modifier and Type | Interface and Description |
---|---|
static class |
Animatable.Animation
Enumeration of values representing possible animation directives
|
Modifier and Type | Method and Description |
---|---|
Animatable.Animation |
getAnimationFlag()
returns the animation type flag
|
double |
getAnimationStep()
returns the fractional step along the animation
|
void |
setAnimationFlag(Animatable.Animation flag)
Sets a flag indicating the type of transformation.
|
void |
setAnimationStep(double frac)
Sets the fractional step along the animation.
|
Animatable.Animation getAnimationFlag()
double getAnimationStep()
void setAnimationFlag(Animatable.Animation flag)
flag
- indicating the type of transformationvoid setAnimationStep(double frac)
frac
- the fractional step along the animation