| Access | Constructor and Description |
|---|---|
| public | InvertMask()
Constructs a new |
| public | InvertMask(Effect
the single input input)EffectConstructs a new |
| public | InvertMask(int
the amount of padding on each side of the resulting image pad)Constructs a new |
| public | InvertMask(int
the amount of padding on each side of the resulting image pad, Effect the single input input)EffectConstructs a new |
| Modifier and Type | Method and Description |
|---|---|
| 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 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 int | Returns: the offset in the x direction, in pixels.Returns the offset in the x direction, in pixels. |
| public int | Returns: the offset in the y direction, in pixels.Returns the offset in the y direction, in pixels. |
| public int | Returns: the amount of padding, in pixelsReturns the amount of padding added to each side of the resulting image, in pixels. |
| 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 Rectangle | getResultBounds(BaseTransform transform, Rectangle outputClip, ImageData... inputDatas)
Overrides com.
|
| 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 | setOffsetX(int
the offset in the x direction, in pixels xoff)Sets the offset in the x direction, in pixels. |
| public void | setOffsetY(int
the offset in the y direction, in pixels yoff)Sets the offset in the y direction, in pixels. |
| public void | setPad(int
the amount of padding, in pixels pad)Sets the amount of padding added to each side of the resulting image, in pixels. |
| pad | back to summary |
|---|---|
| private int pad | |
| xoff | back to summary |
|---|---|
| private int xoff | |
| yoff | back to summary |
|---|---|
| private int yoff | |
| InvertMask | back to summary |
|---|---|
| public InvertMask() Constructs a new
new InvertMask(10, DefaultInput)
| |
| InvertMask | back to summary |
|---|---|
| public InvertMask(Effect input) Constructs a new
new InvertMask(10, input)
| |
| InvertMask | back to summary |
|---|---|
| public InvertMask(int pad) Constructs a new
| |
| InvertMask | back to summary |
|---|---|
| public InvertMask(int pad, Effect input) 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.
| |
| getInput | back to summary |
|---|---|
| public final Effect getInput() Returns the input for this
| |
| getOffsetX | back to summary |
|---|---|
| public int getOffsetX() Returns the offset in the x direction, in pixels.
| |
| getOffsetY | back to summary |
|---|---|
| public int getOffsetY() Returns the offset in the y direction, in pixels.
| |
| getPad | back to summary |
|---|---|
| public int getPad() Returns the amount of padding added to each side of the resulting image, in pixels.
| |
| 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
| |
| getResultBounds | back to summary |
|---|---|
| public Rectangle getResultBounds(BaseTransform transform, Rectangle outputClip, ImageData... inputDatas) Overrides com.
| |
| 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.
| |
| setInput | back to summary |
|---|---|
| public void setInput(Effect input) Sets the input for this
| |
| setOffsetX | back to summary |
|---|---|
| public void setOffsetX(int xoff) Sets the offset in the x direction, in pixels.
Min: Integer.MIN_VALUE
Max: Integer.MAX_VALUE
Default: 0
Identity: 0
| |
| setOffsetY | back to summary |
|---|---|
| public void setOffsetY(int yoff) Sets the offset in the y direction, in pixels.
Min: Integer.MIN_VALUE
Max: Integer.MAX_VALUE
Default: 0
Identity: 0
| |
| setPad | back to summary |
|---|---|
| public void setPad(int pad) Sets the amount of padding added to each side of the resulting image, in pixels.
Min: 0
Max: Integer.MAX_VALUE
Default: 0
Identity: 0
| |