title: How to set javafx button Icon using shape?
body: <p>I want to set my button icon using some geometry shapes, such as circle, square, etc.</p>
  
  <p>I also want to set it in FXML something like:</p>
  
  <pre><code>&lt;Button .....&gt;
    &lt;graphics&gt;
      &lt;group&gt;
        &lt;shape&gt;
        ......
        &lt;/shape&gt;
      &lt;/group&gt;
    &lt;/graphics&gt;
  &lt;/Button&gt;
  </code></pre>
  
  <p>Is it possible?  I do know how to load image icon into ImageView then setGraphic.</p>
  
  <p>TIA</p>