title: JavaFX GraphicContext.fillText() format
body: <p>I have canvas with GraphicsContext on it and I am wondering if it is possible to format <code>.fillText()</code> method in any way?</p>
  
  <pre><code>GraphicsContext gc = getGraphicsContext2D();
  gc.setTextAlign(TextAlignment.CENTER);
  gc.setTextBaseline(VPos.CENTER);
  gc.fillText(someString, Math.round(width / 2), Math.round(height / 2));
  </code></pre>
  
  <p>I want to make every character in <code>someString</code> with different color and keep this text centered</p>
  
  <p>And it is not possible. This <code>Canvas</code> and <code>Pane</code> are resizable (<code>Canvas</code> width and height properties are binded to <code>Pane</code> width and height and <code>Canvas</code> is redrawn every time <code>Pane</code> size changes). So the question is, how can i create <code>Text</code> object or any other text object so it would be always in the center of <code>Pane</code></p>