Package | Description |
---|---|
com.sun.javafx.sg.prism | |
com.sun.javafx.webkit.prism | |
com.sun.scenario.effect | |
com.sun.scenario.effect.impl | |
com.sun.scenario.effect.impl.prism | |
com.sun.scenario.effect.impl.prism.ps | |
com.sun.scenario.effect.impl.state | |
com.sun.scenario.effect.impl.sw.java | |
com.sun.scenario.effect.impl.sw.sse | |
javafx.scene.effect |
Provides the set of classes for attaching graphical filter effects to JavaFX Scene Graph Nodes.
|
Modifier and Type | Class and Description |
---|---|
(package private) static class |
NGCanvas.EffectInput |
(package private) static class |
NGCanvas.MyBlend |
(package private) class |
NGCanvas.RenderInput |
private static class |
NGNode.EffectDirtyBoundsHelper |
private static class |
NGNode.PassThrough
A custom effect implementation that has a filter() method that
simply wraps the given pre-rendered PrDrawable in an ImageData
and returns that result.
|
class |
NodeEffectInput |
Modifier and Type | Field and Description |
---|---|
private Effect |
EffectFilter.effect |
private Effect |
NGCanvas.effect |
Modifier and Type | Method and Description |
---|---|
(package private) Effect |
EffectFilter.getEffect() |
protected Effect |
NGNode.getEffect() |
Modifier and Type | Method and Description |
---|---|
private Rectangle |
NGCanvas.applyEffectOnAintoC(Effect definput,
Effect effect,
BaseTransform transform,
Rectangle outputClip,
CompositeMode comp,
NGCanvas.RenderBuf destbuf) |
ImageData |
NGCanvas.RenderInput.filter(FilterContext fctx,
BaseTransform transform,
Rectangle outputClip,
java.lang.Object renderHelper,
Effect defaultInput) |
ImageData |
NGCanvas.EffectInput.filter(FilterContext fctx,
BaseTransform transform,
Rectangle outputClip,
java.lang.Object renderHelper,
Effect defaultInput) |
ImageData |
NGNode.PassThrough.filter(FilterContext fctx,
BaseTransform transform,
Rectangle outputClip,
java.lang.Object renderHelper,
Effect defaultInput) |
ImageData |
NGNode.EffectDirtyBoundsHelper.filter(FilterContext fctx,
BaseTransform transform,
Rectangle outputClip,
java.lang.Object renderHelper,
Effect defaultInput) |
ImageData |
NodeEffectInput.filter(FilterContext fctx,
BaseTransform transform,
Rectangle outputClip,
java.lang.Object renderHelper,
Effect defaultInput) |
BaseBounds |
NGCanvas.RenderInput.getBounds(BaseTransform transform,
Effect defaultInput) |
BaseBounds |
NGCanvas.EffectInput.getBounds(BaseTransform transform,
Effect defaultInput) |
RectBounds |
NGNode.PassThrough.getBounds(BaseTransform transform,
Effect defaultInput) |
BaseBounds |
NGNode.EffectDirtyBoundsHelper.getBounds(BaseTransform transform,
Effect defaultInput) |
BaseBounds |
NodeEffectInput.getBounds(BaseTransform transform,
Effect defaultInput) |
DirtyRegionContainer |
NGCanvas.RenderInput.getDirtyRegions(Effect defaultInput,
DirtyRegionPool regionPool) |
DirtyRegionContainer |
NGCanvas.EffectInput.getDirtyRegions(Effect defaultInput,
DirtyRegionPool regionPool) |
DirtyRegionContainer |
NGNode.PassThrough.getDirtyRegions(Effect defaultInput,
DirtyRegionPool regionPool) |
DirtyRegionContainer |
NGNode.EffectDirtyBoundsHelper.getDirtyRegions(Effect defaultInput,
DirtyRegionPool regionPool) |
DirtyRegionContainer |
NodeEffectInput.getDirtyRegions(Effect defaultInput,
DirtyRegionPool regionPool) |
(package private) static boolean |
EffectUtil.renderEffectForRectangularNode(NGNode node,
Graphics g,
Effect effect,
float alpha,
boolean aa,
float rx,
float ry,
float rw,
float rh)
If possible, uses an optimized codepath to render the an
effect (InnerShadow or DropShadow) on the given rectangular node
(NGRectangle, NGImageView, etc).
|
void |
NGNode.setEffect(Effect effect)
Called by the FX scene graph to set the effect.
|
Constructor and Description |
---|
EffectFilter(Effect effect,
NGNode node) |
MyBlend(Blend.Mode mode,
Effect bottomInput,
Effect topInput) |
Modifier and Type | Class and Description |
---|---|
private static class |
WCGraphicsPrismContext.PassThrough |
Modifier and Type | Method and Description |
---|---|
private Effect |
WCGraphicsPrismContext.Composite.createBlend(Blend.Mode mode,
PrDrawable dstImg,
PrDrawable srcImg,
int width,
int height) |
private Effect |
WCGraphicsPrismContext.Composite.createEffect(PrDrawable dstImg,
PrDrawable srcImg,
int width,
int height) |
Modifier and Type | Method and Description |
---|---|
ImageData |
WCGraphicsPrismContext.PassThrough.filter(FilterContext fctx,
BaseTransform transform,
Rectangle outputClip,
java.lang.Object renderHelper,
Effect defaultInput) |
RectBounds |
WCGraphicsPrismContext.PassThrough.getBounds(BaseTransform transform,
Effect defaultInput) |
DirtyRegionContainer |
WCGraphicsPrismContext.PassThrough.getDirtyRegions(Effect defaultInput,
DirtyRegionPool regionPool) |
private void |
WCGraphicsPrismContext.render(Graphics g,
Effect effect,
Paint paint,
BasicStroke stroke,
NGNode node) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractShadow
An implementation supertype for both Gaussian and Box filter based
shadows to facilitate their conditional usage inside the various
composite shadow effects like DropShadow and InnerShadow.
|
class |
Blend
An effect that blends the two inputs together using one of the
pre-defined
Mode s. |
class |
Bloom
A high-level effect that makes brighter portions of the input image
appear to glow, based on a configurable threshold.
|
class |
BoxBlur
A blur effect using a box-shaped convolution kernel, with a configurable
size for each dimension of the kernel and a number of passes to control
the quality of the blur.
|
class |
BoxShadow
A shadow effect using a box-shaped convolution kernel, with a configurable
size for each dimension of the kernel and a number of passes to control
the quality of the blur.
|
class |
Brightpass
An effect that filters out (i.e., replaces with a transparent value) all
pixels with brightness lower than the configurable threshold value.
|
class |
ColorAdjust
An effect that allows for per-pixel adjustments of hue, saturation,
brightness, and contrast.
|
(package private) class |
CoreEffect<T extends RenderState>
Package-private base class for built-in effects, i.e., those that are
backed by an EffectPeer implementation.
|
class |
Crop
An effect that returns a cropped version of the input.
|
class |
DelegateEffect
The implementation base class for
Effect subclasses that
delegate their operations to a tree of other Effect
implementations. |
class |
DisplacementMap
An effect that shifts each pixel according to an (x,y) distance from
the (red,green) channels of a map image, respectively.
|
class |
DropShadow
A high-level effect that renders a shadow of the given content behind
the content with the specified color, radius, and offset.
|
class |
FilterEffect<T extends RenderState>
The implementation base class for
Effect subclasses that operate
by filtering the inputs at the pixel level. |
class |
Flood
An effect that renders a rectangular region that is filled ("flooded")
with the given paint.
|
class |
GaussianBlur
A blur effect using a Gaussian convolution kernel, with a configurable
radius.
|
class |
GaussianShadow
A blurred shadow effect using a Gaussian convolution kernel, with a
configurable radius and shadow color.
|
class |
GeneralShadow
A blurred shadow effect using either a Gaussian convolution or a Box filter
kernel, with a configurable radius and shadow color.
|
class |
Glow
A high-level effect that makes the input image appear to glow,
based on a configurable threshold.
|
class |
Identity
A type of source effect that returns a version of the given
platform-specific image object (e.g.
|
class |
InnerShadow
A high-level effect that renders a shadow inside the edges of the
given content with the specified color, radius, and offset.
|
class |
InvertMask
An effect that returns a mask that is the inverse of the input (i.e.,
opaque areas of the input become transparent and vice versa) with a
given offset and padding.
|
class |
LinearConvolveCoreEffect
An intermediate mix-in super class that performs the multi-pass filtering
algorithm common to all linear convolution filters such as Gaussian,
Box, and Motion Blurs and Shadows.
|
class |
Merge
An effect that merges two inputs together into one result.
|
class |
MotionBlur
A motion blur effect using a Gaussian convolution kernel, with a
configurable radius and angle.
|
class |
Offset
A trivial effect that offsets the input image by the given x/y
adjustment values.
|
class |
PerspectiveTransform |
class |
PhongLighting
An effect that applies diffuse and specular lighting to an arbitrary
input using a positionable light source.
|
class |
Reflection
An effect that renders a reflected version of the input below the
actual input content.
|
class |
SepiaTone
A filter that produces a sepia tone effect, similar to antique photographs.
|
class |
ZoomRadialBlur
Zoom radial blur effect with a configurable center and radius of the kernel.
|
Modifier and Type | Field and Description |
---|---|
static Effect |
Effect.DefaultInput
A convenient constant for using a readable value to specify
a
null value for input Effect s in method and
constructor parameter lists. |
Modifier and Type | Field and Description |
---|---|
private java.util.List<Effect> |
Effect.inputs |
private java.util.List<Effect> |
Effect.unmodifiableInputs |
Modifier and Type | Method and Description |
---|---|
Effect |
Blend.getBottomInput()
Returns the bottom input for this
Effect . |
Effect |
Merge.getBottomInput()
Returns the bottom input for this
Effect . |
Effect |
Crop.getBoundsInput()
Returns the bounds input for this
Effect . |
private Effect |
Crop.getBoundsInput(Effect defaultInput) |
Effect |
PhongLighting.getBumpInput()
Returns the bump input for this
Effect . |
Effect |
DisplacementMap.getContentInput()
Returns the content input for this
Effect . |
Effect |
DropShadow.getContentInput()
Returns the content input for this
Effect . |
Effect |
InnerShadow.getContentInput()
Returns the content input for this
Effect . |
Effect |
PhongLighting.getContentInput()
Returns the content input for this
Effect . |
private Effect |
PhongLighting.getContentInput(Effect defaultInput) |
(package private) static Effect |
Effect.getDefaultedInput(Effect listedInput,
Effect defaultInput) |
(package private) Effect |
Effect.getDefaultedInput(int inputIndex,
Effect defaultInput) |
protected Effect |
Bloom.getDelegate() |
protected abstract Effect |
DelegateEffect.getDelegate()
Returns the
Effect object to delegate all operations to. |
protected Effect |
DropShadow.getDelegate() |
protected Effect |
GeneralShadow.getDelegate() |
protected Effect |
Glow.getDelegate() |
protected Effect |
InnerShadow.getDelegate() |
abstract Effect |
AbstractShadow.getInput() |
Effect |
Bloom.getInput()
Returns the input for this
Effect . |
Effect |
BoxBlur.getInput()
Returns the input for this
Effect . |
Effect |
BoxShadow.getInput()
Returns the input for this
Effect . |
Effect |
Brightpass.getInput()
Returns the input for this
Effect . |
Effect |
ColorAdjust.getInput()
Returns the input for this
Effect . |
Effect |
Crop.getInput()
Returns the input for this
Effect . |
Effect |
GaussianBlur.getInput()
Returns the input for this
Effect . |
Effect |
GaussianShadow.getInput()
Returns the input for this
Effect . |
Effect |
GeneralShadow.getInput()
Returns the shadow source input for this
Effect . |
Effect |
Glow.getInput()
Returns the input for this
Effect . |
Effect |
InvertMask.getInput()
Returns the input for this
Effect . |
Effect |
MotionBlur.getInput()
Returns the input for this
Effect . |
Effect |
Offset.getInput()
Returns the input for this
Effect . |
Effect |
PerspectiveTransform.getInput()
Returns the input for this
Effect . |
Effect |
Reflection.getInput()
Returns the input for this
Effect . |
Effect |
SepiaTone.getInput()
Returns the input for this
Effect . |
Effect |
ZoomRadialBlur.getInput()
Returns the input for this
Effect . |
Effect |
DropShadow.getShadowSourceInput()
Returns the shadow source input for this
Effect . |
Effect |
InnerShadow.getShadowSourceInput()
Returns the shadow source input for this
Effect . |
Effect |
Blend.getTopInput()
Returns the top input for this
Effect . |
Effect |
Merge.getTopInput()
Returns the top input for this
Effect . |
Modifier and Type | Method and Description |
---|---|
java.util.List<Effect> |
Effect.getInputs()
Returns the (immutable) list of input
Effect s, or an empty
list if no inputs were specified at construction time. |
Modifier and Type | Method and Description |
---|---|
ImageData |
Crop.filter(FilterContext fctx,
BaseTransform transform,
Rectangle outputClip,
java.lang.Object renderHelper,
Effect defaultInput) |
ImageData |
DelegateEffect.filter(FilterContext fctx,
BaseTransform transform,
Rectangle outputClip,
java.lang.Object renderHelper,
Effect defaultInput) |
abstract ImageData |
Effect.filter(FilterContext fctx,
BaseTransform transform,
Rectangle outputClip,
java.lang.Object renderHelper,
Effect defaultInput)
Applies this filter effect to the series of images represented by
the input
Effect s and/or the given defaultInput
viewed under the given transform . |
ImageData |
FilterEffect.filter(FilterContext fctx,
BaseTransform transform,
Rectangle outputClip,
java.lang.Object renderHelper,
Effect defaultInput) |
ImageData |
Identity.filter(FilterContext fctx,
BaseTransform transform,
Rectangle outputClip,
java.lang.Object renderHelper,
Effect defaultInput) |
ImageData |
Merge.filter(FilterContext fctx,
BaseTransform transform,
Rectangle outputClip,
java.lang.Object renderHelper,
Effect defaultInput) |
ImageData |
Offset.filter(FilterContext fctx,
BaseTransform transform,
Rectangle outputClip,
java.lang.Object renderHelper,
Effect defaultInput) |
ImageData |
PerspectiveTransform.filter(FilterContext fctx,
BaseTransform transform,
Rectangle outputClip,
java.lang.Object renderHelper,
Effect defaultInput) |
BaseBounds |
BoxBlur.getBounds(BaseTransform transform,
Effect defaultInput) |
BaseBounds |
BoxShadow.getBounds(BaseTransform transform,
Effect defaultInput) |
BaseBounds |
Crop.getBounds(BaseTransform transform,
Effect defaultInput) |
BaseBounds |
DelegateEffect.getBounds(BaseTransform transform,
Effect defaultInput) |
abstract BaseBounds |
Effect.getBounds(BaseTransform transform,
Effect defaultInput)
Returns the bounding box that will be affected by this filter
operation when viewed under the specified
transform ,
given its list of input Effect s and the specified
defaultInput effect. |
BaseBounds |
FilterEffect.getBounds(BaseTransform transform,
Effect defaultInput) |
BaseBounds |
Flood.getBounds(BaseTransform transform,
Effect defaultInput) |
BaseBounds |
GaussianBlur.getBounds(BaseTransform transform,
Effect defaultInput) |
BaseBounds |
GaussianShadow.getBounds(BaseTransform transform,
Effect defaultInput) |
BaseBounds |
Identity.getBounds(BaseTransform transform,
Effect defaultInput) |
BaseBounds |
InnerShadow.getBounds(BaseTransform transform,
Effect defaultInput) |
BaseBounds |
InvertMask.getBounds(BaseTransform transform,
Effect defaultInput) |
BaseBounds |
MotionBlur.getBounds(BaseTransform transform,
Effect defaultInput) |
BaseBounds |
Offset.getBounds(BaseTransform transform,
Effect defaultInput) |
RectBounds |
PerspectiveTransform.getBounds(BaseTransform transform,
Effect defaultInput) |
BaseBounds |
PhongLighting.getBounds(BaseTransform transform,
Effect defaultInput) |
BaseBounds |
Reflection.getBounds(BaseTransform transform,
Effect defaultInput) |
private Effect |
Crop.getBoundsInput(Effect defaultInput) |
private Effect |
PhongLighting.getContentInput(Effect defaultInput) |
(package private) static Effect |
Effect.getDefaultedInput(Effect listedInput,
Effect defaultInput) |
(package private) Effect |
Effect.getDefaultedInput(int inputIndex,
Effect defaultInput) |
DirtyRegionContainer |
BoxBlur.getDirtyRegions(Effect defaultInput,
DirtyRegionPool regionPool) |
DirtyRegionContainer |
BoxShadow.getDirtyRegions(Effect defaultInput,
DirtyRegionPool regionPool) |
DirtyRegionContainer |
Crop.getDirtyRegions(Effect defaultInput,
DirtyRegionPool regionPool) |
DirtyRegionContainer |
DelegateEffect.getDirtyRegions(Effect defaultInput,
DirtyRegionPool regionPool) |
DirtyRegionContainer |
DisplacementMap.getDirtyRegions(Effect defaultInput,
DirtyRegionPool regionPool) |
DirtyRegionContainer |
Effect.getDirtyRegions(Effect defaultInput,
DirtyRegionPool regionPool)
Returns the dirty region container containing dirty regions affected
by this filter operation.
|
DirtyRegionContainer |
Flood.getDirtyRegions(Effect defaultInput,
DirtyRegionPool regionPool) |
DirtyRegionContainer |
GaussianBlur.getDirtyRegions(Effect defaultInput,
DirtyRegionPool regionPool) |
DirtyRegionContainer |
GaussianShadow.getDirtyRegions(Effect defaultInput,
DirtyRegionPool regionPool) |
DirtyRegionContainer |
Identity.getDirtyRegions(Effect defaultInput,
DirtyRegionPool regionPool) |
DirtyRegionContainer |
InvertMask.getDirtyRegions(Effect defaultInput,
DirtyRegionPool regionPool) |
DirtyRegionContainer |
MotionBlur.getDirtyRegions(Effect defaultInput,
DirtyRegionPool regionPool) |
DirtyRegionContainer |
Offset.getDirtyRegions(Effect defaultInput,
DirtyRegionPool regionPool) |
DirtyRegionContainer |
PerspectiveTransform.getDirtyRegions(Effect defaultInput,
DirtyRegionPool regionPool) |
DirtyRegionContainer |
PhongLighting.getDirtyRegions(Effect defaultInput,
DirtyRegionPool regionPool) |
DirtyRegionContainer |
Reflection.getDirtyRegions(Effect defaultInput,
DirtyRegionPool regionPool) |
DirtyRegionContainer |
ZoomRadialBlur.getDirtyRegions(Effect defaultInput,
DirtyRegionPool regionPool) |
RenderState |
Blend.getRenderState(FilterContext fctx,
BaseTransform transform,
Rectangle outputClip,
java.lang.Object renderHelper,
Effect defaultInput) |
RenderState |
Brightpass.getRenderState(FilterContext fctx,
BaseTransform transform,
Rectangle outputClip,
java.lang.Object renderHelper,
Effect defaultInput) |
RenderState |
ColorAdjust.getRenderState(FilterContext fctx,
BaseTransform transform,
Rectangle outputClip,
java.lang.Object renderHelper,
Effect defaultInput) |
RenderState |
Crop.getRenderState(FilterContext fctx,
BaseTransform transform,
Rectangle outputClip,
java.lang.Object renderHelper,
Effect defaultInput) |
RenderState |
DisplacementMap.getRenderState(FilterContext fctx,
BaseTransform transform,
Rectangle outputClip,
java.lang.Object renderHelper,
Effect defaultInput) |
abstract T |
FilterEffect.getRenderState(FilterContext fctx,
BaseTransform transform,
Rectangle outputClip,
java.lang.Object renderHelper,
Effect defaultInput)
Returns the object representing the rendering strategy and state for
the filter operation characterized by the specified arguments.
|
RenderState |
Flood.getRenderState(FilterContext fctx,
BaseTransform transform,
Rectangle outputClip,
java.lang.Object renderHelper,
Effect defaultInput) |
RenderState |
InvertMask.getRenderState(FilterContext fctx,
BaseTransform transform,
Rectangle outputClip,
java.lang.Object renderHelper,
Effect defaultInput) |
LinearConvolveRenderState |
LinearConvolveCoreEffect.getRenderState(FilterContext fctx,
BaseTransform transform,
Rectangle outputClip,
java.lang.Object renderHelper,
Effect defaultInput) |
RenderState |
Merge.getRenderState(FilterContext fctx,
BaseTransform transform,
Rectangle outputClip,
java.lang.Object renderHelper,
Effect defaultInput) |
RenderState |
PerspectiveTransform.getRenderState(FilterContext fctx,
BaseTransform transform,
Rectangle outputClip,
java.lang.Object renderHelper,
Effect defaultInput) |
RenderState |
PhongLighting.getRenderState(FilterContext fctx,
BaseTransform transform,
Rectangle outputClip,
java.lang.Object renderHelper,
Effect defaultInput) |
RenderState |
Reflection.getRenderState(FilterContext fctx,
BaseTransform transform,
Rectangle outputClip,
java.lang.Object renderHelper,
Effect defaultInput) |
RenderState |
SepiaTone.getRenderState(FilterContext fctx,
BaseTransform transform,
Rectangle outputClip,
java.lang.Object renderHelper,
Effect defaultInput) |
RenderState |
ZoomRadialBlur.getRenderState(FilterContext fctx,
BaseTransform transform,
Rectangle outputClip,
java.lang.Object renderHelper,
Effect defaultInput) |
void |
Blend.setBottomInput(Effect bottomInput)
Sets the bottom input for this
Effect to a specific
Effect or to the default input if input is
null . |
void |
Merge.setBottomInput(Effect bottomInput)
Sets the bottom input for this
Effect to a specific
Effect or to the default input if input is
null . |
void |
Crop.setBoundsInput(Effect input)
Sets the bounds input for this
Effect . |
void |
PhongLighting.setBumpInput(Effect bumpInput)
Sets the bump input for this
Effect to a specific
Effect or to the default input if input is
null . |
void |
DisplacementMap.setContentInput(Effect contentInput)
Sets the content input for this
Effect to a specific
Effect or to the default input if input is
null . |
void |
DropShadow.setContentInput(Effect contentInput)
Sets the content input for this
Effect . |
void |
InnerShadow.setContentInput(Effect contentInput)
Sets the content input for this
Effect to a specific
Effect or to the default input if input is
null . |
void |
PhongLighting.setContentInput(Effect contentInput)
Sets the content input for this
Effect to a specific
Effect or to the default input if input is
null . |
abstract void |
AbstractShadow.setInput(Effect input) |
void |
Bloom.setInput(Effect input)
Sets the input for this
Effect to a specific
Effect or to the default input if input is
null . |
void |
BoxBlur.setInput(Effect input)
Sets the input for this
Effect . |
void |
BoxShadow.setInput(Effect input)
Sets the input for this
Effect . |
void |
Brightpass.setInput(Effect input)
Sets the input for this
Effect . |
void |
ColorAdjust.setInput(Effect input)
Sets the input for this
Effect to a specific
Effect or to the default input if input is
null . |
void |
Crop.setInput(Effect input)
Sets the source input for this
Effect to a specific
Effect or to the default input if input is
null . |
void |
GaussianBlur.setInput(Effect input)
Sets the input for this
Effect to a specific Effect
or to the default input if input is null . |
void |
GaussianShadow.setInput(Effect input)
Sets the input for this
Effect to a specific Effect
or to the default input if input is null . |
void |
GeneralShadow.setInput(Effect input)
Sets the shadow source input for this
Effect . |
void |
Glow.setInput(Effect input)
Sets the input for this
Effect to a specific
Effect or to the default input if input is
null . |
void |
InvertMask.setInput(Effect input)
Sets the input for this
Effect to a specific
Effect or to the default input if input is
null . |
void |
MotionBlur.setInput(Effect input)
Sets the input for this
Effect to a specific Effect
or to the default input if input is null . |
void |
Offset.setInput(Effect input)
Sets the input for this
Effect to a specific
Effect or to the default input if input is
null . |
void |
PerspectiveTransform.setInput(Effect input)
Sets the input for this
Effect to a specific
Effect or to the default input if input is
null . |
void |
Reflection.setInput(Effect input)
Sets the input for this
Effect to a specific
Effect or to the default input if input is
null . |
void |
SepiaTone.setInput(Effect input)
Sets the input for this
Effect to a specific
Effect or to the default input if input is
null . |
void |
ZoomRadialBlur.setInput(Effect input)
Sets the input for this
Effect to a specific
Effect or to the default input if input is
null . |
protected void |
Effect.setInput(int index,
Effect input)
Sets the indexed input for this
Effect to a specific
Effect or to the default input if input is
null . |
void |
DropShadow.setShadowSourceInput(Effect shadowSourceInput)
Sets the shadow source input for this
Effect . |
void |
InnerShadow.setShadowSourceInput(Effect shadowSourceInput)
Sets the shadow source input for this
Effect to a specific
Effect or to the default input if input is
null . |
void |
Blend.setTopInput(Effect topInput)
Sets the top input for this
Effect to a specific
Effect or to the default input if input is
null . |
void |
Merge.setTopInput(Effect topInput)
Sets the top input for this
Effect to a specific
Effect or to the default input if input is
null . |
Point2D |
Blend.transform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the primary content input to the coordinate space of the effect
output. |
Point2D |
Bloom.transform(Point2D p,
Effect defaultInput) |
Point2D |
Crop.transform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the primary content input to the coordinate space of the effect
output. |
Point2D |
DelegateEffect.transform(Point2D p,
Effect defaultInput) |
Point2D |
DisplacementMap.transform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the primary content input to the coordinate space of the effect
output. |
Point2D |
Effect.transform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the primary content input to the coordinate space of the effect
output. |
Point2D |
FilterEffect.transform(Point2D p,
Effect defaultInput) |
Point2D |
Flood.transform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the primary content input to the coordinate space of the effect
output. |
Point2D |
Glow.transform(Point2D p,
Effect defaultInput) |
Point2D |
InnerShadow.transform(Point2D p,
Effect defaultInput) |
Point2D |
Merge.transform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the primary content input to the coordinate space of the effect
output. |
Point2D |
Offset.transform(Point2D p,
Effect defaultInput) |
Point2D |
PerspectiveTransform.transform(Point2D p,
Effect defaultInput) |
Point2D |
PhongLighting.transform(Point2D p,
Effect defaultInput) |
Point2D |
Reflection.transform(Point2D p,
Effect defaultInput) |
Point2D |
Blend.untransform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the output of the effect into the coordinate space of the
primary content input. |
Point2D |
Bloom.untransform(Point2D p,
Effect defaultInput) |
Point2D |
Crop.untransform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the output of the effect into the coordinate space of the
primary content input. |
Point2D |
DelegateEffect.untransform(Point2D p,
Effect defaultInput) |
Point2D |
DisplacementMap.untransform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the output of the effect into the coordinate space of the
primary content input. |
Point2D |
Effect.untransform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the output of the effect into the coordinate space of the
primary content input. |
Point2D |
FilterEffect.untransform(Point2D p,
Effect defaultInput) |
Point2D |
Flood.untransform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the output of the effect into the coordinate space of the
primary content input. |
Point2D |
Glow.untransform(Point2D p,
Effect defaultInput) |
Point2D |
InnerShadow.untransform(Point2D p,
Effect defaultInput) |
Point2D |
Merge.untransform(Point2D p,
Effect defaultInput)
Transform the specified point
p from the coordinate space
of the output of the effect into the coordinate space of the
primary content input. |
Point2D |
Offset.untransform(Point2D p,
Effect defaultInput) |
Point2D |
PerspectiveTransform.untransform(Point2D p,
Effect defaultInput) |
Point2D |
PhongLighting.untransform(Point2D p,
Effect defaultInput) |
Point2D |
Reflection.untransform(Point2D p,
Effect defaultInput) |
Constructor and Description |
---|
AbstractShadow(Effect input) |
Blend(Blend.Mode mode,
Effect bottomInput,
Effect topInput)
Constructs a new
Blend effect with the given mode and the
default opacity (1.0). |
Bloom(Effect input)
Constructs a new
Bloom effect with the default threshold (0.3). |
BoxBlur(int hsize,
int vsize,
int passes,
Effect input)
Constructs a new
BoxBlur effect with
the given blur sizes
and number of passes,
using the output of the specified effect for source data. |
BoxShadow(int hsize,
int vsize,
int passes,
Effect input)
Constructs a new
BoxShadow effect with
the given blur sizes
and number of passes,
using the output of the specified effect for source data. |
Brightpass(Effect input)
Constructs a new
Brightpass effect with the default
threshold value (0.3). |
ColorAdjust(Effect input)
Constructs a new
ColorAdjust effect with the default hue (0.0),
saturation (0.0), brightness (0.0), and contrast (0.0). |
CoreEffect(Effect input) |
CoreEffect(Effect input1,
Effect input2) |
Crop(Effect source)
Constructs a new
Crop effect which crops the output of
the specified source Effect to the bounds of the default
input. |
Crop(Effect source,
Effect boundsInput)
Constructs a new
Crop effect to crop the output of the
specified source Effect to the bounds of the specified
bounds Effect . |
DelegateEffect(Effect input) |
DelegateEffect(Effect input1,
Effect input2) |
DisplacementMap(FloatMap mapData,
Effect contentInput)
Constructs a new
DisplacementMap effect using the specified
input Effect for source data, or the default input if
contentInput is null . |
DropShadow(Effect input)
Constructs a new
DropShadow effect, with the default
blur radius (10.0), x offset (0.0), and y offset (0.0). |
DropShadow(Effect shadowSourceInput,
Effect contentInput)
Constructs a new
DropShadow effect, with the default
blur radius (10.0), x offset (0.0), and y offset (0.0). |
Effect(Effect input)
Constructs an
Effect with exactly one input. |
Effect(Effect input1,
Effect input2)
Constructs an
Effect with exactly two inputs. |
FilterEffect(Effect input) |
FilterEffect(Effect input1,
Effect input2) |
GaussianBlur(float radius,
Effect input)
Constructs a new
GaussianBlur effect with the given radius. |
GaussianShadow(float radius,
Color4f color,
Effect input)
Constructs a new
GaussianShadow effect with the given
radius and color. |
GeneralShadow(Effect input)
Constructs a new
GeneralShadow effect, with the default
blur radius (10.0). |
Glow(Effect input)
Constructs a new
Glow effect with the default level (0.3). |
InnerShadow(Effect input)
Constructs a new
InnerShadow effect, with the default
blur radius (10.0), x offset (0.0), and y offset (0.0). |
InnerShadow(Effect shadowSourceInput,
Effect contentInput)
Constructs a new
InnerShadow effect, with the default
blur radius (10.0), x offset (0.0), and y offset (0.0). |
InvertMask(Effect input)
Constructs a new
InvertMask effect with the default pad (10),
using the given Effect as the input. |
InvertMask(int pad,
Effect input)
Constructs a new
InvertMask effect with the given pad value
and effect input. |
LinearConvolveCoreEffect(Effect input) |
Merge(Effect bottomInput,
Effect topInput)
Constructs a new
Merge effect for the given inputs. |
MotionBlur(float radius,
float angle,
Effect input)
Constructs a new
MotionBlur effect with the given radius
and angle. |
Offset(int xoff,
int yoff,
Effect input)
Constructs a new
Offset effect with the given x/y
adjustment values. |
PerspectiveTransform(Effect input) |
PhongLighting(Light light,
Effect bumpInput,
Effect contentInput)
Constructs a new
PhongLighting effect for the given
Light and the given bump and content input Effect s
with default values for all other properties. |
Reflection(Effect input)
Constructs a new
Reflection effect with default values. |
SepiaTone(Effect input)
Constructs a new
SepiaTone effect with the default
level value (1.0). |
ZoomRadialBlur(int radius,
Effect input)
Constructs a new
ZoomRadialBlur effect with the given radius. |
Modifier and Type | Field and Description |
---|---|
private Effect |
EffectPeer.effect |
Modifier and Type | Method and Description |
---|---|
protected Effect |
EffectPeer.getEffect() |
Modifier and Type | Method and Description |
---|---|
abstract ImageData |
EffectPeer.filter(Effect effect,
T renderState,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
static Renderer |
Renderer.getRenderer(FilterContext fctx,
Effect effect,
int approxW,
int approxH)
Returns a renderer that is most optimal for the approximate size
of the filtering operation.
|
protected Renderer |
Renderer.getRendererForSize(Effect effect,
int approxW,
int approxH)
Returns a
Renderer instance that is most appropriate
for the given size of the source data. |
protected void |
EffectPeer.setEffect(Effect effect) |
Modifier and Type | Method and Description |
---|---|
ImageData |
PrCropPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
PrFloodPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
PrMergePeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
PrReflectionPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
static void |
PrEffectHelper.render(Effect effect,
Graphics g,
float x,
float y,
Effect defaultInput)
Applies the given filter effect to the series of inputs and then renders
the result to the provided
Graphics at the specified
location. |
Modifier and Type | Method and Description |
---|---|
protected Effect |
PPSLinearConvolvePeer.getEffect() |
protected Effect |
PPSLinearConvolveShadowPeer.getEffect() |
Modifier and Type | Method and Description |
---|---|
ImageData |
PPStoPSWDisplacementMapPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
PPSEffectPeer.filter(Effect effect,
T renderState,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
Modifier and Type | Method and Description |
---|---|
static java.lang.Object |
AccessHelper.getState(Effect effect) |
java.lang.Object |
AccessHelper.StateAccessor.getState(Effect effect) |
Modifier and Type | Method and Description |
---|---|
ImageData |
JSWBoxBlurPeer.filter(Effect effect,
BoxRenderState brstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
JSWBoxShadowPeer.filter(Effect effect,
BoxRenderState brstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
JSWLinearConvolvePeer.filter(Effect effect,
LinearConvolveRenderState lcrstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
JSWColorAdjustPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
JSWBrightpassPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
JSWSepiaTonePeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
JSWPerspectiveTransformPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
JSWDisplacementMapPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
JSWInvertMaskPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
JSWBlend_SRC_OVERPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
JSWBlend_SRC_INPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
JSWBlend_SRC_OUTPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
JSWBlend_SRC_ATOPPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
JSWBlend_ADDPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
JSWBlend_MULTIPLYPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
JSWBlend_SCREENPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
JSWBlend_OVERLAYPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
JSWBlend_DARKENPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
JSWBlend_LIGHTENPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
JSWBlend_COLOR_DODGEPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
JSWBlend_COLOR_BURNPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
JSWBlend_HARD_LIGHTPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
JSWBlend_SOFT_LIGHTPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
JSWBlend_DIFFERENCEPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
JSWBlend_EXCLUSIONPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
JSWBlend_REDPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
JSWBlend_GREENPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
JSWBlend_BLUEPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
JSWPhongLighting_DISTANTPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
JSWPhongLighting_POINTPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
JSWPhongLighting_SPOTPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
Modifier and Type | Method and Description |
---|---|
ImageData |
SSEBoxBlurPeer.filter(Effect effect,
BoxRenderState brstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
SSEBoxShadowPeer.filter(Effect effect,
BoxRenderState brstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
SSELinearConvolvePeer.filter(Effect effect,
LinearConvolveRenderState lcrstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
SSEColorAdjustPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
SSEBrightpassPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
SSESepiaTonePeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
SSEPerspectiveTransformPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
SSEDisplacementMapPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
SSEInvertMaskPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
SSEBlend_SRC_OVERPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
SSEBlend_SRC_INPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
SSEBlend_SRC_OUTPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
SSEBlend_SRC_ATOPPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
SSEBlend_ADDPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
SSEBlend_MULTIPLYPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
SSEBlend_SCREENPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
SSEBlend_OVERLAYPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
SSEBlend_DARKENPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
SSEBlend_LIGHTENPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
SSEBlend_COLOR_DODGEPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
SSEBlend_COLOR_BURNPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
SSEBlend_HARD_LIGHTPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
SSEBlend_SOFT_LIGHTPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
SSEBlend_DIFFERENCEPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
SSEBlend_EXCLUSIONPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
SSEBlend_REDPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
SSEBlend_GREENPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
SSEBlend_BLUEPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
SSEPhongLighting_DISTANTPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
SSEPhongLighting_POINTPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
ImageData |
SSEPhongLighting_SPOTPeer.filter(Effect effect,
RenderState rstate,
BaseTransform transform,
Rectangle outputClip,
ImageData... inputs) |
Modifier and Type | Field and Description |
---|---|
private Effect |
Effect.peer |
Modifier and Type | Method and Description |
---|---|
(package private) abstract Effect |
Effect.impl_createImpl() |
Effect |
Effect.impl_getImpl()
Deprecated.
This is an internal API that is not intended for use and will be removed in the next version
|