| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public ImageData | filter(FilterContext fctx, BaseTransform transform, Rectangle outputClip, Object renderHelper, Effect defaultInput)
Overrides com. Applies this filter effect to the series of images represented by
the input |
| public BaseBounds | getBounds(BaseTransform transform, Effect defaultInput)
Overrides com. Returns the bounding box that will be affected by this filter
operation when viewed under the specified |
| public final Effect | |
| private Effect | |
| public DirtyRegionContainer | getDirtyRegions(Effect defaultInput, DirtyRegionPool regionPool)
Overrides com. Returns the dirty region container containing dirty regions affected by this filter operation. |
| public final Effect | |
| public RenderState | getRenderState(FilterContext fctx, BaseTransform transform, Rectangle outputClip, Object renderHelper, Effect defaultInput)
Implements abstract com. Returns the object representing the rendering strategy and state for the filter operation characterized by the specified arguments. |
| public boolean | reducesOpaquePixels()
Implements abstract com. Whether an opacity for any pixel is different (lower) than the corresponding pixel in the default input. |
| public void | |
| public void | |
| public Point2D | Returns: the transformed point in the coordinate space of the resultthe point in the coordinate space of the primary content
input to be transformed p, Effect the default input defaultInput)Effect to be used in
all cases where a filter has a null inputOverrides com. Transform the specified point |
| public Point2D | Returns: the untransformed point in the coordinate space of the primary content inputthe point in the coordinate space of the result output
to be transformed p, Effect the default input defaultInput)Effect to be used in
all cases where a filter has a null inputOverrides com. Transform the specified point |
| Crop | back to summary |
|---|---|
| public Crop(Effect source) Constructs a new
| |
| Crop | back to summary |
|---|---|
| public Crop(Effect source, Effect boundsInput) Constructs a new | |
| filter | back to summary |
|---|---|
| public ImageData filter(FilterContext fctx, BaseTransform transform, Rectangle outputClip, Object renderHelper, Effect defaultInput) Overrides com. Doc from com. Applies this filter effect to the series of images represented by
the input
The filter might be able to use the
Note that the
boolean valid;
do {
ImageData res = filter(fctx, transform, clip, renderer, defaultInput);
if (res == null) {
break;
}
if (valid = res.validate(fctx)) {
// Render res.getImage() to the appropriate destination
// or use it as an input to another chain of effects.
}
res.unref();
} while (!valid);
| |
| getBounds | back to summary |
|---|---|
| public BaseBounds getBounds(BaseTransform transform, Effect defaultInput) Overrides com. Doc from com. Returns the bounding box that will be affected by this filter
operation when viewed under the specified
| |
| getBoundsInput | back to summary |
|---|---|
| public final Effect getBoundsInput() Returns the bounds input for this
| |
| getBoundsInput | back to summary |
|---|---|
| private Effect getBoundsInput(Effect defaultInput) | |
| getDirtyRegions | back to summary |
|---|---|
| public DirtyRegionContainer getDirtyRegions(Effect defaultInput, DirtyRegionPool regionPool) Overrides com. Doc from com. Returns the dirty region container containing dirty regions affected by this filter operation.
| |
| getInput | back to summary |
|---|---|
| public final Effect getInput() Returns the input for this
| |
| getRenderState | back to summary |
|---|---|
| public RenderState getRenderState(FilterContext fctx, BaseTransform transform, Rectangle outputClip, Object renderHelper, Effect defaultInput) Implements abstract com. Doc from com. Returns the object representing the rendering strategy and state for
the filter operation characterized by the specified arguments.
This call can also be used to get a state object for non-rendering
cases like querying the bounds of an operation in which case the
| |
| reducesOpaquePixels | back to summary |
|---|---|
| public boolean reducesOpaquePixels() Implements abstract com. Doc from com. Whether an opacity for any pixel is different (lower) than the corresponding pixel in the default input. It is always safe to return true from this method, though the consequences may be that the caller chooses to not utilize a planned optimization.
| |
| setBoundsInput | back to summary |
|---|---|
| public void setBoundsInput(Effect input) Sets the bounds input for this
| |
| setInput | back to summary |
|---|---|
| public void setInput(Effect input) Sets the source input for this
| |
| transform | back to summary |
|---|---|
| public Point2D transform(Point2D p, Effect defaultInput) Overrides com. Transform the specified point
The | |
| untransform | back to summary |
|---|---|
| public Point2D untransform(Point2D p, Effect defaultInput) Overrides com. Transform the specified point
The
| |