Javafx Polygon

Polygon polygon = new Polygon(doubleArray);