For Graphics2D (AWT), theta is expected to be in radians. For GraphicsContext (JFX), the angle is expected to be expressed in degrees.
FXGraphics2D 1.3 contains the following code for this method:
Code: Select all
this.gc.rotate(theta * Math.PI / 180);
Code: Select all
this.gc.rotate(Math.toDegrees(theta));
Thanks,
BB