Identity effect,
except that it is more convenient and potentially much more efficient.
| Modifier and Type | Field and Description |
|---|---|
| private RectBounds | |
| private Object |
| Access | Constructor and Description |
|---|---|
| public | |
| public | Flood(Object
the platform-specific paint object used to flood the region paint, RectBounds the rectangular area to cover bounds)Constructs a new |
| Modifier and Type | Method and Description |
|---|---|
| public BaseBounds | getBounds(BaseTransform
the transform the effect will be viewed under transform, Effect the default input defaultInput)Effect to be used in
all cases where a filter has a null inputOverrides com. Returns the bounding box that will be affected by this filter
operation when viewed under the specified |
| public DirtyRegionContainer | getDirtyRegions(Effect
the default input defaultInput, DirtyRegionPool Effect to be used in
all cases where a filter has a null inputthe pool of dirty regions regionPool)Overrides com. Returns the dirty region container containing dirty regions affected by this filter operation. |
| public RectBounds | |
| public Object | Returns: the flood paintReturns the platform-specific paint object used to flood the region. |
| public RenderState | getRenderState(FilterContext
the context object that would be used by the Renderer
if this call is preparing for a render operation, or null fctx, BaseTransform the transform for the output of this operation transform, Rectangle the clip rectangle that may restrict this operation, or null outputClip, Object the rendering helper object that can be used to shortcut
this operation under certain conditions, or null renderHelper, Effect the defaultInput)Effect to be used in place of any null inputsImplements 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 undefined point(NaN, NaN)the 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 undefined point(NaN, NaN)the 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 |
| bounds | back to summary |
|---|---|
| private RectBounds bounds | |
| paint | back to summary |
|---|---|
| private Object paint | |
| Flood | back to summary |
|---|---|
| public Flood(Object paint) Constructs a new
| |
| Flood | back to summary |
|---|---|
| public Flood(Object paint, RectBounds bounds) Constructs a new
| |
| 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
| |
| 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.
| |
| getFloodBounds | back to summary |
|---|---|
| public RectBounds getFloodBounds() | |
| getPaint | back to summary |
|---|---|
| public Object getPaint() Returns the platform-specific paint object used to flood the region.
| |
| 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.
| |
| setFloodBounds | back to summary |
|---|---|
| public void setFloodBounds(RectBounds bounds) | |
| setPaint | back to summary |
|---|---|
| public void setPaint(Object paint) Sets the platform-specific paint object used to flood the region.
| |
| transform | back to summary |
|---|---|
| public Point2D transform(Point2D p, Effect defaultInput) Overrides com. Transform the specified point
Since no source input is used, any output coordinate is equally
affected, or unaffected, by any source coordinate so an undefined
point | |
| untransform | back to summary |
|---|---|
| public Point2D untransform(Point2D p, Effect defaultInput) Overrides com. Transform the specified point
Since the Flood effect does not use any source data it returns
an undefined coordinate | |