title: Why is g2d.rotate to 90 degrees not exactly 90 degrees? JAVA
body: <p>Hi I am trying to create a circular text. I managed to do it somehow by for-looping each rotated character. But I still don't get it. I don't understand the angles. Could someone please give me a good explanation? Like in the following code why is a not exactly 90 degrees? But somewhere between 100 and 120?</p>
  
  <pre><code>Graphics2D g2d = (Graphics2D)g;
      AffineTransform xform1, cxform;
      xform1 = AffineTransform.getTranslateInstance(200,200);
      g2d.setTransform(xform1);
      g2d.drawLine(0, -20, 0, 20);
      g2d.drawLine(-20, 0, 20, 0);
      xform1.rotate(Math.toDegrees(90));
      g2d.setTransform(xform1);
      g2d.drawString("a", 0, 20);
  </code></pre>
  
  <p>My first post. Hope I have not made any mistakes.
  Thanks</p>