polygone javafx

Polygon polygon = new Polygon(doubleArray);