public interface MotionManager
| Modifier and Type | Method and Description |
|---|---|
Motion |
easeIn(int start,
int stop,
long duration)
Moves from start to stop with a time constraint.
|
Motion |
easeInOut(int start,
int stop,
long duration)
Moves from start to stop with a time constraint.
|
Motion |
easeOut(int start,
int stop,
long duration)
Moves from start to stop with a time constraint.
|
Motion |
toss(int start,
int min,
int max,
float initialSpeed,
long duration)
Deprecated.
use
TossHelper methods instead. |
Motion easeIn(int start, int stop, long duration)
start - the start value.stop - the stop value.duration - the duration of the motion.Motion easeOut(int start, int stop, long duration)
start - the start value.stop - the stop value.duration - the duration of the motion.Motion easeInOut(int start, int stop, long duration)
start - the start value.stop - the stop value.duration - the duration of the motion.@Deprecated Motion toss(int start, int min, int max, float initialSpeed, long duration)
TossHelper methods instead.start - the start value.min - the minimum bound.max - the maximum bound.initialSpeed - the initial move speed (in pixels/second).duration - the duration of the motion.