Package org.vanted.animation.animations
Class PositionXAnimation
java.lang.Object
org.vanted.animation.Animation<T>
org.vanted.animation.ContinuousAnimation<DoubleTimePoint>
org.vanted.animation.animations.PositionXAnimation
public class PositionXAnimation extends ContinuousAnimation<DoubleTimePoint>
Animates the x coordinate of a Node object.
- Author:
- - Patrick Shaw
-
Constructor Summary
Constructors Constructor Description PositionXAnimation(Attributable attributable, List<DoubleTimePoint> dataPoints, double loopDuration)
PositionXAnimation(Attributable attributable, List<DoubleTimePoint> dataPoints, double loopDuration, double startTime)
PositionXAnimation(Attributable attributable, List<DoubleTimePoint> dataPoints, double loopDuration, double startTime, int noLoops)
PositionXAnimation(Attributable attributable, List<DoubleTimePoint> dataPoints, double loopDuration, double startTime, int noLoops, Looper looper)
PositionXAnimation(Attributable attributable, List<DoubleTimePoint> dataPoints, double loopDuration, double startTime, int noLoops, Looper looper, Interpolator interpolator)
-
Method Summary
Methods inherited from class org.vanted.animation.ContinuousAnimation
update
Methods inherited from class org.vanted.animation.Animation
getEndTime, getLoopDuration, getStartTime, isFinished, reset, setDataPoints, setLoopDuration, setLoopDuration, setLoopDuration, setLooper, setNoLoops, setNoLoops, setStartTime, setStartTime
-
Constructor Details
-
PositionXAnimation
public PositionXAnimation(Attributable attributable, List<DoubleTimePoint> dataPoints, double loopDuration, double startTime, int noLoops, Looper looper, Interpolator interpolator) -
PositionXAnimation
public PositionXAnimation(Attributable attributable, List<DoubleTimePoint> dataPoints, double loopDuration, double startTime, int noLoops, Looper looper) -
PositionXAnimation
public PositionXAnimation(Attributable attributable, List<DoubleTimePoint> dataPoints, double loopDuration, double startTime, int noLoops) -
PositionXAnimation
public PositionXAnimation(Attributable attributable, List<DoubleTimePoint> dataPoints, double loopDuration, double startTime) -
PositionXAnimation
public PositionXAnimation(Attributable attributable, List<DoubleTimePoint> dataPoints, double loopDuration)
-