public class AnimationScaleBy extends Animation
CElement
by fixed scale factors along the x-axis and the y-axis every 40 milliseconds.FUNCTION_LINEAR, FUNCTION_SIGMOID, INFINITE_NUMBER_OF_LAPS
Constructor and Description |
---|
AnimationScaleBy(double dxScale,
double dyScale)
Builds a "scaleBy" animation.
|
Modifier and Type | Method and Description |
---|---|
double |
getDeltaScaleX() |
double |
getDeltaScaleY() |
AnimationScaleBy |
setDelta(double dx,
double dy)
Sets the fixed scale factors along the x-axis and y-axis.
|
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 AnimationScaleBy(double dxScale, double dyScale)
dxScale
- The fixed scale factor along the x-axis.dyScale
- The fixed scale factor along the y-axis.public void step(double t)
public double getDeltaScaleX()
public double getDeltaScaleY()
public AnimationScaleBy setDelta(double dx, double dy)
dx
- The fixed scale factor along the x-axis.dy
- The fixed scale factor along the y-axis.