public static class FilterSpec.FEComposite extends FilterSpec.AbstractFilterEffect
| Modifier and Type | Field and Description |
|---|---|
static short |
OPERATOR_ARITHMETIC
Composite operator: arithmetic.
|
static short |
OPERATOR_ATOP
Composite operator: atop.
|
static short |
OPERATOR_IN
Composite operator: in.
|
static short |
OPERATOR_OUT
Composite operator: out.
|
static short |
OPERATOR_OVER
Composite operator: over.
|
static short |
OPERATOR_XOR
Composite operator: xor.
|
in, inputType, resultId| Constructor and Description |
|---|
FEComposite(String resultId,
short type,
String in,
String in2)
Create a composite effect.
|
| Modifier and Type | Method and Description |
|---|---|
javafx.scene.effect.Effect |
getEffect(javafx.scene.Node node)
Return the associated JavaFX effect.
|
boolean |
isSecondLast()
Return true if the composite takes the source graphic as the first input.
|
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.
|
boolean |
shouldApply(List<FilterSpec.AppliedEffect> appliedEffects,
int index)
Return true if the composite should apply at the given index.
|
getInputType, getResultId, setInpublic static final short OPERATOR_OVER
public static final short OPERATOR_IN
public static final short OPERATOR_OUT
public static final short OPERATOR_ATOP
public static final short OPERATOR_XOR
public static final short OPERATOR_ARITHMETIC
public boolean shouldApply(List<FilterSpec.AppliedEffect> appliedEffects, int index)
appliedEffects - the applied effects listindex - the current indexpublic boolean isSecondLast()
public 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.