Basics
Guides
API Reference
Basics
Guides
API Reference
[13:7] extends: FxObj
Wraps JavaFX DropShadow, an effect that renders a shadow beneath a node, with configurable color, blur radius, X and Y offset, and spread. The radius controls how soft the shadow edges are, the offset shifts the shadow position relative to the node, and spread controls how much of the radius is filled with solid color before blurring. Apply it to any node via the node's setEffect() method.
DropShadow ()
Creates a new DropShadow effect with default settings.
setRadius (double R)
Sets the blur radius of the shadow, controlling how soft the shadow edges appear.
R is a double with the radius in pixels; larger values produce softer edges.this objectgetRadius ()
Returns the current blur radius of the shadow.
A double with the radius in pixels.radiusProperty ()
Returns the DoubleProperty backing the radius value.
An AJO wrapping javafx.beans.property.DoubleProperty.setOffsetX (double X)
Sets the horizontal offset of the shadow relative to the source node.
X is a double with the X offset in pixels; positive shifts the shadow right.this objectgetOffsetX ()
Returns the horizontal offset of the shadow relative to the source node.
A double with the X offset in pixels.offsetXProperty ()
Returns the DoubleProperty backing the X offset value.
An AJO wrapping javafx.beans.property.DoubleProperty.setOffsetY (double Y)
Sets the vertical offset of the shadow relative to the source node.
Y is a double with the Y offset in pixels; positive shifts the shadow down.this objectgetOffsetY ()
Returns the vertical offset of the shadow relative to the source node.
A double with the Y offset in pixels.offsetYProperty ()
Returns the DoubleProperty backing the Y offset value.
An AJO wrapping javafx.beans.property.DoubleProperty.setColor (object ColorObj)
Sets the color of the shadow.
ColorObj is a Color object specifying the shadow color.this objectgetColor ()
Returns the current shadow color.
An AJO wrapping javafx.scene.paint.Color.colorProperty ()
Returns the ObjectProperty backing the shadow color.
An AJO wrapping javafx.beans.property.ObjectPropertysetSpread (double S)
Sets the spread of the shadow, controlling how much of the radius is filled with solid color.
S is a double in the range 0.0 to 1.0; higher values produce a harder shadow edge.this objectgetSpread ()
Returns the current spread value.
A double in the range 0.0 to 1.0.spreadProperty ()
Returns the DoubleProperty backing the spread value.
An AJO wrapping javafx.beans.property.DoubleProperty.setWidth (double W)
Sets the horizontal width of the shadow effect region in pixels.
W is a double with the width in pixels.this objectgetWidth ()
Returns the horizontal width of the shadow effect region.
A double with the width in pixels.widthProperty ()
Returns the DoubleProperty backing the width value.
An AJO wrapping javafx.beans.property.DoubleProperty.setHeight (double H)
Sets the vertical height of the shadow effect region in pixels.
H is a double with the height in pixels.this objectgetHeight ()
Returns the vertical height of the shadow effect region.
A double with the height in pixels.heightProperty ()
Returns the DoubleProperty backing the height value.
An AJO wrapping javafx.beans.property.DoubleProperty.setBlurType (string Type)
Sets the blur algorithm applied to the shadow.
Type is a string: ONE_PASS_BOX, TWO_PASS_BOX, THREE_PASS_BOX, or GAUSSIAN.this objectgetBlurType ()
Returns the current blur type.
An AJO wrapping javafx.scene.effect.BlurType.blurTypeProperty ()
Returns the ObjectProperty backing the blur type.
An AJO wrapping javafx.beans.property.ObjectPropertysetInput (object Input)
Sets the input effect that this DropShadow is chained to. When null the effect operates on the node directly.
Input is an Effect wrapper (e.g. another Bloom, BoxBlur, etc.) or null.this objectgetInput ()
Returns the input effect chained to this DropShadow.
An AJO wrapping javafx.scene.effect.Effect, or null if none is set.inputProperty ()
Returns the ObjectProperty backing the input effect reference.
An AJO wrapping javafx.beans.property.ObjectProperty
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.