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 objectsetInput (object InputObj)
Sets the input effect chained beneath this reflection.
InputObj is an Aussom wrapper whose .obj holds a javafx.scene.effect.Effect, or null to clear.this objectgetInput ()
Returns the input effect chained beneath this reflection.
An AussomJavaObject around the javafx.scene.effect.Effect, or null.inputProperty ()
Returns the input property for binding or change listeners.
An AussomJavaObject around an ObjectPropertygetTopOffset ()
Returns the vertical gap between the bottom of the node and the top of its reflection.
A double with the top offset in pixels.topOffsetProperty ()
Returns the topOffset property for binding or change listeners.
An AussomJavaObject around a DoubleProperty.getTopOpacity ()
Returns the opacity at the top edge of the reflection.
A double with the top opacity in the range 0.0 to 1.0.topOpacityProperty ()
Returns the topOpacity property for binding or change listeners.
An AussomJavaObject around a DoubleProperty.getBottomOpacity ()
Returns the opacity at the bottom edge of the reflection.
A double with the bottom opacity in the range 0.0 to 1.0.bottomOpacityProperty ()
Returns the bottomOpacity property for binding or change listeners.
An AussomJavaObject around a DoubleProperty.getFraction ()
Returns the fraction of the node's height that is shown in the reflection.
A double in the range 0.0 to 1.0.fractionProperty ()
Returns the fraction property for binding or change listeners.
An AussomJavaObject around a DoubleProperty.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.