Class QuartInOut
java.lang.Object
org.eclipse.nebula.animation.movement.AbstractMovement
org.eclipse.nebula.animation.movement.QuartInOut
- All Implemented Interfaces:
IMovement
public class QuartInOut extends AbstractMovement
Moves slowly first then accelerate and finally slow down until it reaches the
max value.
-
Field Summary
Fields inherited from class org.eclipse.nebula.animation.movement.AbstractMovement
duration, max, min
-
Constructor Summary
Constructors Constructor Description QuartInOut()
-
Method Summary
Modifier and Type Method Description double
getValue(double step)
Get value at step 'step'
-
Constructor Details
-
QuartInOut
public QuartInOut()
-
-
Method Details
-
getValue
public double getValue(double step)Description copied from interface:IMovement
Get value at step 'step'- Specified by:
getValue
in interfaceIMovement
- Specified by:
getValue
in classAbstractMovement
- Returns:
- current value.
- See Also:
IMovement.getValue(double)
-