title: How to create a JavaFX texture
body: <p>I can make a rectangle with JavFX like this:</p>
  
  <pre><code>Rectangle node2 = RectangleBuilder.create()
              .x(-100)
              .y(-100)
              .width(200)
              .height(200)
              .fill(Color.GREEN)
              .build();
  </code></pre>
  
  <p>but how can I make it use a texture instead of just a color? </p>
  
  <p>TIA</p>