ported Image.createPolygon() from Flashpunk