Basics
Guides
API Reference
Basics
Guides
API Reference
[11:7] extends: FxObj
Wraps JavaFX InnerShadow, an effect that renders a shadow inside the edges of a node, giving it a recessed or embossed appearance. The radius controls shadow softness, the offset shifts the shadow position, and the color sets the shadow tint. Apply it to any node via the node's setEffect() method.
InnerShadow ()
Creates a new InnerShadow effect with default settings.
setRadius (double R)
Sets the blur radius of the inner shadow, controlling how soft the shadow edges appear.
R is a double with the radius in pixels; larger values produce softer inner edges.this objectsetOffsetX (double X)
Sets the horizontal offset of the inner shadow relative to the node.
X is a double with the X offset in pixels; positive shifts the shadow right.this objectsetOffsetY (double Y)
Sets the vertical offset of the inner shadow relative to the node.
Y is a double with the Y offset in pixels; positive shifts the shadow down.this objectsetColor (object ColorObj)
Sets the color of the inner shadow.
ColorObj is a Color object specifying the shadow color.this object
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.