Effects
The effects that change how a node is drawn without touching its layout: rounded corners, circle, border, shadow, blur, mask and transform, and the base class of your own effects. Learn: Effects, Custom effects.
Every effect of this family runs on the three backends: LWJGL 2, LWJGL 3 and Vulkan.
Main types
Section titled “Main types”| Type | Kind | Summary |
|---|---|---|
NodeEffect | class | Base of every effect, an object added to a node that changes how the node is drawn, never its layout nor the area that receives the mouse. |
BlurNodeEffect | class | Blurs what a node draws with a horizontal then a vertical Gaussian pass. |
BorderNodeEffect | class | Outlines the pixels that a node draws, outside or inside their edge. |
CircleNodeEffect | class | Cuts what a node draws to the largest disc centered in its bounds. |
MaskNodeEffect | class | Hides every pixel of a node and its children outside a rectangle, or outside the opaque part of an image. |
RoundedNodeEffect | class | Rounds the corners of what a node draws, all four or only some of them. |
ShadowNodeEffect | class | Draws a soft shadow of the shape of a node under it, or a glow when the color is light. |
TransformNodeEffect | class | Moves, rotates or scales the drawing of a node and its children without changing the layout. |
Supporting types
Section titled “Supporting types”Nested types and listeners that the main types use.
| Type | Kind | Summary |
|---|---|---|
NodeEffect.NodeEffectScope | enum | What the shader passes of an effect process, the node alone or the node with its children. |
