I want to add different path transitions to an image. This is what i have done so far. What can i do?
QuadCurve ll= new QuadCurve(250,180,475,0,700,180);
Line c912 = new Line(700,180,250,180);
PathTransition ty= new PathTransition();
ty.setNode(iv123);
ty.setDuration(Duration.seconds(10));
ty.setPath(ll);
ty.setOnFinished(e -> {
ty.setNode(c912);
ty.play();
});
ty.play();