title: How to draw a hexagon map in libGdx using the Polygon class?
body: <p>I recently asked <a href="https://stackoverflow.com/questions/30217450/how-to-draw-hexagons-in-android?noredirect=1#comment48542350_30217450">this question</a> on how to draw a hexagon in Android. After finding in the accepted answer that I would have to use umpteen lines of [repetitive] code (compared to the eleven when using regular Java <code>Graphics</code> and <code>Polygon</code> objects) I began to search for solutions. I found that libGdx has a <code>Polygon</code> class. I began trying to implement the code in the linked question (the code my question started out with) with slight modification, including replacing the graphics class.</p>
  
  <p>I stumbled into this without originally checking the API and found that unlike the Java <code>Polygon</code> class the libGdx <code>Polygon</code> class only has one constructor. It is a float array to hold vertices. Unfortunately the code did not work after I placed the float <code>vertices[6]</code> in the constructor. No errors, just not my desired result.</p>
  
  <p>Next I began the laborious task of searching through the API. I found several classes that I suspect can be used to achieve my desired effect (drawing hex map for my first strategy game). The Polygon class also has several methods that I suspect can be implemented.</p>
  
  <p>I, like many other amateur programmers tend to learn best by example, however. I have always been able to reproduce my desired results after studying someone else's implementation. This problem is stumping me, so can someone give an example of how to do this with a detailed explanation. I have also done several Google searches to try and find an example. The hexagon math is simple enough, but drawing the hexagons seems to be a task.</p>
  
  <p>(I would have added my code to the question had I not forgotten to back it up to Dropbox. I am currently, like most days, stuck using an iPad, not my trusty RCA Android tablet which I store my code on)</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>My actual question is the title. If it is not possible to do this in a straightforward or simple manner please explain why.</p>