title: JavaFX and antialias
body: <p>I am in the process of porting some graphics rendering from java/Android to standard java.</p>
  
  <p>The first thing that I am faced with is - which graphics api to use, Graphics2D or JavaFX.
  It was proposed by assylias in my previous question "<a href="https://stackoverflow.com/questions/21203392/porting-graphics-drawing-from-android-to-standard-java">Porting graphics drawing from android to standard java</a>", that I use JavaFX.</p>
  
  <p>I have seen that this has the advantage of taking doubles and floats as parameters for drawing, as with Android.
  However, I have not been able to find anything which confirms that the drawing is antialiased, or that antialiasing can be turned on.</p>
  
  <p>My objective is to generate a high quality image which will be directly saved to disk and not displayed in the application.  It will be displayed in another context and not printed.
  I need to be drawing text, paths, beziers, lines, ellipses and rectangles.</p>
  
  <p>Is it worth my while digging into JavaFX or do I have no choice but to go with Graphics2D ?</p>