public class AnimationRotateBy extends Animation
CElement
by a fixed angle every 40 milliseconds.FUNCTION_LINEAR, FUNCTION_SIGMOID, INFINITE_NUMBER_OF_LAPS
Constructor and Description |
---|
AnimationRotateBy(double deltaAngle)
Builds a "rotateBy" animation.
|
Modifier and Type | Method and Description |
---|---|
double |
getDeltaAngle() |
AnimationRotateBy |
setDeltaAngle(double deltaAngle)
Sets the fixed angle of rotation.
|
void |
step(double t)
Override this abstract to specify the effect of this animation.
|
addTag, addTag, doResume, doStart, doStop, doSuspend, getAnimated, getDelay, getLapDuration, getNbLaps, getPacingFunction, hasTag, hasTag, isStarted, isSuspended, removeTag, removeTag, resetAnimationManager, resume, setAnimatedElement, setCanvas, setDelay, setFunction, setLapDuration, setNbLaps, start, stop, suspend
public AnimationRotateBy(double deltaAngle)
deltaAngle
- The fixed angle of rotation (in radians).public void step(double t)
public double getDeltaAngle()
public AnimationRotateBy setDeltaAngle(double deltaAngle)
deltaAngle
- The fixed angle of rotation.