*/
private AbstractShape getLivePolygonComponent(SVGOMPolygonElement polyElem, boolean noFill, int windingRule){
AbstractShape returnComponent = null;
//Create Vertex array from points
SVGPointList pointList = polyElem.getPoints();
Vertex[] vertices = new Vertex[pointList.getNumberOfItems()];
for (int i = 0; i < pointList.getNumberOfItems(); i++) {
SVGPoint p = pointList.getItem(i);
vertices[i] = new Vertex(p.getX(), p.getY(),0);
}
//If polygon isnt closed, close it with the first vertex
if (!vertices[0].equalsVector(vertices[vertices.length-1])){