How to make corners of AnchorPane round in SceneBuilder JavaFX? I tried it using CSS
-fx-background-radius : 30;
-fx-border-radius : 30;
After this, it curves the graphic on top not the actual stage. It still has a sharp white edge visible. How to remove this. Shouldn't this be Transparent to make it actually curve?