JavaFX : Rotated animation delay between cycles
<p>I've created an animation for an ImageView based on a RotatedTranstion using the following code : </p>

<pre><code>ImageView icon = ImageCache.getImage("refresh.png");
RotateTransition rotateTransition = new RotateTransition(Duration.millis(2000), icon);
rotateTransition.setByAngle(360.0);
rotateTransition.setCycleCount(Timeline.INDEFINITE);

rotateTransition.play();
</code></pre>

<p>This results in the following animation : </p>

<p><a href="http://i.stack.imgur.com/2r2IP.gif" rel="noreferrer">Rotation in Action</a></p>

<p>As you may have noticed in the animated gif, the animation is not continuous i.e there is a small delay (pause) between animation cycles.</p>

<p>I've tried to look at the API but can't figure out what causes this delay and how i can get rid of it.</p>