Node by setting
the Node.effect attribute.
Some effects change the color properties of the source pixels
(such as ColorAdjust),
others combine multiple images together (such as Blend),
while still others warp or move the pixels of the source image around
(such as DisplacementMap or PerspectiveTransform).
All effects have at least one input defined and the input can be set
to another effect to chain the effects together and combine their
results, or it can be left unspecified in which case the effect will
operate on a graphical rendering of the node it is attached to.Note
this is a conditional feature. See
ConditionalFeature.
for more information.
| Modifier and Type | Class and Description |
|---|---|
| pack-priv class | |
| pack-priv class |
| Modifier and Type | Field and Description |
|---|---|
| private IntegerProperty | |
| private Effect |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv abstract boolean | |
| private void | |
| pack-priv boolean | |
| pack-priv abstract Effect | |
| pack-priv abstract Effect | |
| pack-priv void | |
| private final IntegerProperty | |
| pack-priv abstract BaseBounds | getBounds(BaseBounds bounds, BaseTransform tx, Node node, BoundsAccessor boundsAccessor)
Returns bounds of given node with applied effect. |
| pack-priv static BaseBounds | getInputBounds(BaseBounds bounds, BaseTransform tx, Node node, BoundsAccessor boundsAccessor, Effect input)
|
| pack-priv static int | |
| pack-priv Effect | |
| pack-priv static BaseBounds | |
| private final boolean | |
| private boolean | |
| pack-priv final void | |
| private void | |
| pack-priv final void | |
| private void | |
| pack-priv static BaseBounds | |
| pack-priv abstract void |
| effectDirty | back to summary |
|---|---|
| private IntegerProperty effectDirty | |
| peer | back to summary |
|---|---|
| private Effect peer | |
| Effect | back to summary |
|---|---|
| protected Effect() Creates a new Effect. | |
| checkChainContains | back to summary |
|---|---|
| pack-priv abstract boolean checkChainContains(Effect e) | |
| clearEffectDirty | back to summary |
|---|---|
| private void clearEffectDirty(EffectDirtyBits dirtyBit) Clear the specified dirty bit | |
| containsCycles | back to summary |
|---|---|
| pack-priv boolean containsCycles(Effect value) | |
| copy | back to summary |
|---|---|
| pack-priv abstract Effect copy() | |
| createPeer | back to summary |
|---|---|
| pack-priv abstract Effect createPeer() | |
| effectBoundsChanged | back to summary |
|---|---|
| pack-priv void effectBoundsChanged() | |
| effectDirtyProperty | back to summary |
|---|---|
| private final IntegerProperty effectDirtyProperty() | |
| getBounds | back to summary |
|---|---|
| pack-priv abstract BaseBounds getBounds(BaseBounds bounds, BaseTransform tx, Node node, BoundsAccessor boundsAccessor) Returns bounds of given node with applied effect. We *never* pass null in as a bounds. This method will NOT take a null bounds object. The returned value may be the same bounds object passed in, or it may be a new object. | |
| getInputBounds | back to summary |
|---|---|
| pack-priv static BaseBounds getInputBounds(BaseBounds bounds, BaseTransform tx, Node node, BoundsAccessor boundsAccessor, Effect input) | |
| getKernelSize | back to summary |
|---|---|
| pack-priv static int getKernelSize(float fsize, int iterations) | |
| getPeer | back to summary |
|---|---|
| pack-priv Effect getPeer() | |
| getShadowBounds | back to summary |
|---|---|
| pack-priv static BaseBounds getShadowBounds(BaseBounds bounds, BaseTransform tx, float width, float height, BlurType blurType) | |
| isEffectDirty | back to summary |
|---|---|
| private final boolean isEffectDirty() | |
| isEffectDirty | back to summary |
|---|---|
| private boolean isEffectDirty(EffectDirtyBits dirtyBit) Test the specified dirty bit | |
| markDirty | back to summary |
|---|---|
| pack-priv final void markDirty(EffectDirtyBits dirtyBit) Set the specified dirty bit | |
| setEffectDirty | back to summary |
|---|---|
| private void setEffectDirty(int value) | |
| sync | back to summary |
|---|---|
| pack-priv final void sync() | |
| toggleDirty | back to summary |
|---|---|
| private void toggleDirty(EffectDirtyBits dirtyBit) Toggle the specified dirty bit | |
| transformBounds | back to summary |
|---|---|
| pack-priv static BaseBounds transformBounds(BaseTransform tx, BaseBounds r) | |
| update | back to summary |
|---|---|
| pack-priv abstract void update() | |
| Modifier and Type | Field and Description |
|---|---|
| private int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | invalidated(Observable
The valueModel)Observable that became invalidImplements javafx. This method needs to be provided by an implementation of
|
| public void |
| oldBits | back to summary |
|---|---|
| private int oldBits | |
| EffectInputChangeListener | back to summary |
|---|---|
| pack-priv EffectInputChangeListener() | |
| invalidated | back to summary |
|---|---|
| public void invalidated(Observable valueModel) Implements javafx. Doc from javafx. This method needs to be provided by an implementation of
In general, it is considered bad practice to modify the observed value in this method.
| |
| register | back to summary |
|---|---|
| public void register(Effect value) | |
| Modifier and Type | Field and Description |
|---|---|
| private final Effect. | |
| private final String | |
| private Effect |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public Object | getBean()
Implements javafx. Returns the |
| public String | getName()
Implements javafx. Returns the name of this property. |
| public void | invalidated()
Overrides javafx. The method |
| effectChangeListener | back to summary |
|---|---|
| private final Effect. | |
| propertyName | back to summary |
|---|---|
| private final String propertyName | |
| validInput | back to summary |
|---|---|
| private Effect validInput | |
| EffectInputProperty | back to summary |
|---|---|
| public EffectInputProperty(final String propertyName) | |
| getBean | back to summary |
|---|---|
| public Object getBean() Implements javafx. Doc from javafx. Returns the | |
| getName | back to summary |
|---|---|
| public String getName() Implements javafx. Doc from javafx. Returns the name of this property. If the property does not have a name,
this method returns an empty | |
| invalidated | back to summary |
|---|---|
| public void invalidated() Overrides javafx. Doc from javafx. The method
| |