polígono Javafx

Polygon polygon = new Polygon(doubleArray);