Understanding the base Shadow effect

The base Shadow effect produces an output which looks like a node shadow, but without the original node:

The code is again very simple:

public void start(Stage stage) throws Exception {    Circle circle = new Circle(50, Color.RED);    circle.setEffect(new Shadow());    stage.setScene(new Scene(new StackPane(circle), 200, 350));    stage.show();}

Get Mastering JavaFX 10 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.