title: LIBGDX: How do I draw a filled polygon with the shaperenderer?
body: <p>I have defined a shape using an array of vertices:</p>
  
  <pre><code>float[] points =  new float[]{50,60,50,70,60,70, 60,60,50,60};
  </code></pre>
  
  <p>And I am drawing this here:</p>
  
  <pre><code>shapeRenderer.polygon(floatNew);
  </code></pre>
  
  <p>This just gives an outline of the shape.<br>
  How do I fill it with colour?<br>
  Thanks</p>