Good day!
The following code is available:
Pane.setStyle("-fx-shape: \"M 0,0 200,0 180,100 0,100 Z\";"); How to implement the result obtained using this line with the command:
Pane.setShape(...);
Source: https://ru.stackoverflow.com/questions/730011/
All Articles
Polygonon these four points by analogy as here and already transfer it tosetShape- diraria