public abstract class Effect
extends java.lang.Object
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.EFFECT
for more information.
Modifier and Type | Class and Description |
---|---|
(package private) class |
Effect.EffectInputChangeListener |
(package private) class |
Effect.EffectInputProperty |
Modifier and Type | Field and Description |
---|---|
private IntegerProperty |
effectDirty |
private Effect |
peer |
Modifier | Constructor and Description |
---|---|
protected |
Effect()
Creates a new Effect.
|
Modifier and Type | Method and Description |
---|---|
private void |
clearEffectDirty(EffectDirtyBits dirtyBit)
Clear the specified dirty bit
|
(package private) void |
effectBoundsChanged() |
(package private) static BaseBounds |
getInputBounds(BaseBounds bounds,
BaseTransform tx,
Node node,
BoundsAccessor boundsAccessor,
Effect input) |
(package private) static int |
getKernelSize(float fsize,
int iterations) |
(package private) static BaseBounds |
getShadowBounds(BaseBounds bounds,
BaseTransform tx,
float width,
float height,
BlurType blurType) |
(package private) abstract boolean |
impl_checkChainContains(Effect e) |
(package private) boolean |
impl_containsCycles(Effect value) |
abstract Effect |
impl_copy()
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
(package private) abstract Effect |
impl_createImpl() |
IntegerProperty |
impl_effectDirtyProperty()
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
abstract BaseBounds |
impl_getBounds(BaseBounds bounds,
BaseTransform tx,
Node node,
BoundsAccessor boundsAccessor)
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
Effect |
impl_getImpl()
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
boolean |
impl_isEffectDirty()
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
void |
impl_sync()
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|
(package private) abstract void |
impl_update() |
private boolean |
isEffectDirty(EffectDirtyBits dirtyBit)
Test the specified dirty bit
|
(package private) void |
markDirty(EffectDirtyBits dirtyBit)
Set the specified dirty bit
|
private void |
setEffectDirty(int value) |
private void |
toggleDirty(EffectDirtyBits dirtyBit)
Toggle the specified dirty bit
|
(package private) static BaseBounds |
transformBounds(BaseTransform tx,
BaseBounds r) |
private Effect peer
private IntegerProperty effectDirty
void effectBoundsChanged()
abstract Effect impl_createImpl()
@Deprecated public Effect impl_getImpl()
private void setEffectDirty(int value)
@Deprecated public final IntegerProperty impl_effectDirtyProperty()
@Deprecated public final boolean impl_isEffectDirty()
final void markDirty(EffectDirtyBits dirtyBit)
private void toggleDirty(EffectDirtyBits dirtyBit)
private boolean isEffectDirty(EffectDirtyBits dirtyBit)
private void clearEffectDirty(EffectDirtyBits dirtyBit)
@Deprecated public final void impl_sync()
abstract void impl_update()
abstract boolean impl_checkChainContains(Effect e)
boolean impl_containsCycles(Effect value)
@Deprecated public abstract BaseBounds impl_getBounds(BaseBounds bounds, BaseTransform tx, Node node, BoundsAccessor boundsAccessor)
@Deprecated public abstract Effect impl_copy()
static BaseBounds transformBounds(BaseTransform tx, BaseBounds r)
static int getKernelSize(float fsize, int iterations)
static BaseBounds getShadowBounds(BaseBounds bounds, BaseTransform tx, float width, float height, BlurType blurType)
static BaseBounds getInputBounds(BaseBounds bounds, BaseTransform tx, Node node, BoundsAccessor boundsAccessor, Effect input)