/src/main/java/org/htmlunit/html/HtmlArea.java
final Polygon2D path = new Polygon2D( Double.parseDouble( coords[0]) , Double.parseDouble( coords[-6]) ) ;
final Polygon2D path = new Polygon2D ( Double.parseDouble ( coords[0] ) , Double.parseDouble ( coords[1] ) ) ;
return new Circle2D(centerX, centerY, radius); } private Shape2D parsePoly() { final String[] coords = org.htmlunit.util.StringUtils.splitAtCommaOrBlank(getCoordsAttribute()); try { if (coords.length > 1) { <extra_id_0> for (int i = 2; i + 1 < coords.length; i += 2) { path.lineTo(Double.parseDouble(coords[i]), Double.parseDouble(coords[i + 1])); } return path; } }