public static class FilterSpec.FEFlood extends FilterSpec.AbstractFilterEffect
| Modifier and Type | Field and Description |
|---|---|
javafx.scene.paint.Color |
color
Flood color.
|
double |
height
Height of the flood region.
|
double |
width
Width of the flood region.
|
double |
x
X coordinate of the flood region.
|
double |
y
Y coordinate of the flood region.
|
in, inputType, resultId| Constructor and Description |
|---|
FEFlood(String resultId,
double x,
double y,
double width,
double height,
javafx.scene.paint.Color color)
Create a flood effect.
|
| Modifier and Type | Method and Description |
|---|---|
javafx.scene.effect.Effect |
getEffect(javafx.scene.Node node)
Return the associated JavaFX effect.
|
getInputType, getResultId, setInclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitresolveEffectpublic final double x
public final double y
public final double width
public final double height
public final javafx.scene.paint.Color color
public FEFlood(String resultId, double x, double y, double width, double height, javafx.scene.paint.Color color)
resultId - the result idx - the x coordinatey - the y coordinatewidth - the widthheight - the heightcolor - the flood colorpublic javafx.scene.effect.Effect getEffect(javafx.scene.Node node)
FilterSpec.FilterEffectnode - the node on which the effect appliesCopyright © 2026. All rights reserved.