是否可以使用 Timeline 来摇动初级阶段,因此使用 XTimeline 和 YTimeLine?
final Timeline Xtimeline = new Timeline();//for Animate On X'-Stage
Xtimeline.setCycleCount(Timeline.INDEFINITE);
Xtimeline.setAutoReverse(true);
final Timeline Ytimeline = new Timeline();//for Animate On Y'-Stage
Ytimeline.setCycleCount(Timeline.INDEFINITE);
Ytimeline.setAutoReverse(true);