File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -44,8 +44,7 @@ The following piece of code will generate a frosty effect out of any node:
44
44
``` java
45
45
// ...
46
46
FrostyEffect effect = new FrostyEffect (opacity, updateTime); // Instantiates the effect. The parameters are optional
47
- effect. apply(node); // Binds the effect to the node
48
- FrostyBox box = effect. getBox(); // Retrieves the generated container
47
+ FrostyBox box = new FrostyBox (effect, node); // Instantiates a container with frosty effect
49
48
root. getChildren(). add(box); // Adds the container to the scene
50
49
```
51
50
@@ -62,4 +61,4 @@ Then it's possible to style it:
62
61
}
63
62
```
64
63
65
- Note that the target nodes must not be directly added to the root.
64
+ ** Note** that the target nodes must not be directly added to the root.
You can’t perform that action at this time.
0 commit comments