Blend effect with
Blend.Mode.SRC_OVER and opacity=1.0, except possibly
more efficient.
| Access | Constructor and Description |
|---|---|
| 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 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 final Effect | |
| 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 | setBottomInput(Effect
the bottom input for this bottomInput)EffectSets the bottom input for this |
| public void | setTopInput(Effect
the top input for this topInput)EffectSets the top input for this |
| 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 |
| Merge | back to summary |
|---|---|
| public Merge(Effect bottomInput, Effect topInput) 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);
| |
| getBottomInput | back to summary |
|---|---|
| public final Effect getBottomInput() Returns the bottom 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
| |
| getTopInput | back to summary |
|---|---|
| public final Effect getTopInput() Returns the top input for this
| |
| 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.
| |
| setBottomInput | back to summary |
|---|---|
| public void setBottomInput(Effect bottomInput) Sets the bottom input for this
| |
| setTopInput | back to summary |
|---|---|
| public void setTopInput(Effect topInput) Sets the top 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
| |