public static class FilterSpec.FEDropShadow extends FilterSpec.AbstractFilterEffect
| Modifier and Type | Field and Description |
|---|---|
double |
dx
Horizontal offset.
|
double |
dy
Vertical offset.
|
javafx.scene.paint.Color |
floodColor
Shadow color.
|
double |
stdDeviation
Standard deviation for the blur radius.
|
in, inputType, resultId| Constructor and Description |
|---|
FEDropShadow(String resultId,
double dx,
double dy,
double stdDeviation,
javafx.scene.paint.Color floodColor)
Create a drop shadow effect.
|
| Modifier and Type | Method and Description |
|---|---|
javafx.scene.effect.Effect |
getEffect(javafx.scene.Node node)
Return the associated JavaFX effect.
|
void |
resolveEffect(javafx.scene.effect.Effect effect,
javafx.scene.effect.Effect sourceAlpha,
javafx.scene.effect.Effect previousEffect,
Map<String,javafx.scene.effect.Effect> namedEffects)
Resolve the effect inputs once all effects are created.
|
getInputType, getResultId, setInpublic final double dx
public final double dy
public final double stdDeviation
public final javafx.scene.paint.Color floodColor
public FEDropShadow(String resultId, double dx, double dy, double stdDeviation, javafx.scene.paint.Color floodColor)
resultId - the result iddx - the horizontal offsetdy - the vertical offsetstdDeviation - the blur standard deviationfloodColor - the shadow colorpublic javafx.scene.effect.Effect getEffect(javafx.scene.Node node)
FilterSpec.FilterEffectnode - the node on which the effect appliespublic void resolveEffect(javafx.scene.effect.Effect effect,
javafx.scene.effect.Effect sourceAlpha,
javafx.scene.effect.Effect previousEffect,
Map<String,javafx.scene.effect.Effect> namedEffects)
FilterSpec.FilterEffecteffect - the JavaFX effect instancesourceAlpha - the source alpha effectpreviousEffect - the previous effect in the chainnamedEffects - the map of named effects by idCopyright © 2026. All rights reserved.