title: Rendering SVG polygons in Raphael Javascript library
body: <p>As far as I know, there is currently no way to display SVG polygons in the Raphael Javascript library.  I'm building an application that needs to read in SVGs and them display them in Raphael, however, many of these SVGs use polygons.</p>
  
  <p>For example, I'm reading in an SVG with a polygon in this format:</p>
  
  <pre><code>&lt;polygon points="260.5,627.75 259.563,628.313 258.625,628.563 258.25...
  </code></pre>
  
  <p>So, I'm wondering...is there a way to convert the polygon points into a path which I could draw in Raphael?  I've seen a few applications using python and PHP, but so far I can't find anything that is strictly javascript.</p>
  
  <p>Any help would be greatly appreciated.
  Thanks</p>