public class LinearAnimator extends Object implements PositionAnimator
| Constructor and Description |
|---|
LinearAnimator(AnimPoint from,
AnimPoint to,
long period) |
| Modifier and Type | Method and Description |
|---|---|
Point |
nextLinePoint(float position,
Dimension itemSize) |
Point |
nextStep(long time,
Dimension itemSize) |
void |
start(Dimension canvasSize,
long startTime) |
public void start(Dimension canvasSize, long startTime)
start in interface PositionAnimatorpublic Point nextStep(long time, Dimension itemSize)
nextStep in interface PositionAnimatorCopyright © 2022 vpc open source initiative. All rights reserved.