Basics
Guides
API Reference
Basics
Guides
API Reference
[12:7] extends: FxObj
Wraps JavaFX Reflection, an effect that renders a mirror reflection of a node below it, fading from a top opacity to a bottom opacity. The fraction property controls how much of the node height appears in the reflection, and topOffset shifts the reflection vertically away from the node. Apply it to any node via the node's setEffect() method.
Reflection ()
Creates a new Reflection effect with default settings.
setFraction (double F)
Sets the fraction of the node's height that is shown in the reflection.
F is a double in the range 0.0 to 1.0; 1.0 reflects the full node height.this objectsetTopOffset (double O)
Sets the vertical gap between the bottom of the node and the top of its reflection.
O is a double with the offset in pixels; positive values push the reflection down.this objectsetTopOpacity (double O)
Sets the opacity at the top edge of the reflection.
O is a double in the range 0.0 (transparent) to 1.0 (fully opaque).this objectsetBottomOpacity (double O)
Sets the opacity at the bottom edge of the reflection.
O is a double in the range 0.0 (transparent) to 1.0 (fully opaque).this object
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.