| Modifier and Type | Field and Description |
|---|---|
| private final BoxBlurState |
| Access | Constructor and Description |
|---|---|
| public | BoxBlur()
Constructs a new |
| public | BoxBlur(int
the horizontal size of the BoxBlur kernel hsize, int the vertical size of the BoxBlur kernel vsize)Constructs a new |
| public | BoxBlur(int
the horizontal size of the BoxBlur kernel hsize, int the vertical size of the BoxBlur kernel vsize, int the number of blur passes to execute passes)Constructs a new |
| public | BoxBlur(int
the horizontal size of the BoxBlur kernel hsize, int the vertical size of the BoxBlur kernel vsize, int the number of blur passes to execute passes, Effect the single input input)EffectConstructs a new |
| Modifier and Type | Method and Description |
|---|---|
| public Effect. | getAccelType(FilterContext fctx)
Overrides com. Returns one of the |
| 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 int | Returns: the horizontal size of the effect kernelReturns the horizontal size of the effect kernel. |
| public final Effect | |
| public int | Returns: the number of passes of the effect kernelReturns the number of passes of the effect kernel to control the quality of the blur. |
| public Rectangle | getResultBounds(BaseTransform transform, Rectangle outputClip, ImageData... inputDatas)
Overrides com.
|
| pack-priv LinearConvolveKernel | getState()
Implements abstract com. Returns state object that is associated with this effect instance. |
| public int | Returns: the vertical size of the effect kernelReturns the vertical size of the effect kernel. |
| public boolean | reducesOpaquePixels()
Implements abstract com. Whether an opacity for any pixel is different (lower) than the corresponding pixel in the default input. |
| public final void | setHorizontalSize(int
the horizontal size of the effect kernel hsize)Sets the horizontal size of the effect kernel. |
| public void | |
| public final void | setPasses(int passes)
Sets the number of passes of the effect kernel to control the quality of the blur. |
| public final void | setVerticalSize(int
the vertical size of the effect kernel vsize)Sets the vertical size of the effect kernel. |
| state | back to summary |
|---|---|
| private final BoxBlurState state | |
| BoxBlur | back to summary |
|---|---|
| public BoxBlur() Constructs a new
new BoxBlur(1, 1, 1, DefaultInput)
| |
| BoxBlur | back to summary |
|---|---|
| public BoxBlur(int hsize, int vsize) Constructs a new
new BoxBlur(hsize, vsize, 1, DefaultInput)
| |
| BoxBlur | back to summary |
|---|---|
| public BoxBlur(int hsize, int vsize, int passes) Constructs a new
new BoxBlur(hsize, vsize, passes, DefaultInput)
| |
| BoxBlur | back to summary |
|---|---|
| public BoxBlur(int hsize, int vsize, int passes, Effect input) Constructs a new
| |
| getAccelType | back to summary |
|---|---|
| public Effect. Overrides com. Doc from com. Returns one of the | |
| 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.
| |
| getHorizontalSize | back to summary |
|---|---|
| public int getHorizontalSize() Returns the horizontal size of the effect kernel.
| |
| getInput | back to summary |
|---|---|
| public final Effect getInput() Returns the input for this
| |
| getPasses | back to summary |
|---|---|
| public int getPasses() Returns the number of passes of the effect kernel to control the quality of the blur.
| |
| getResultBounds | back to summary |
|---|---|
| public Rectangle getResultBounds(BaseTransform transform, Rectangle outputClip, ImageData... inputDatas) Overrides com.
| |
| getState | back to summary |
|---|---|
| pack-priv LinearConvolveKernel getState() Implements abstract com. Doc from com. Returns state object that is associated with this effect instance. Subclasses may override this method to return some sort of state object that contains implementation details that are hidden from the public API. Classes outside this package can use the AccessHelper class to get access to this package-private method.
| |
| getVerticalSize | back to summary |
|---|---|
| public int getVerticalSize() Returns the vertical size of the effect kernel.
| |
| 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.
| |
| setHorizontalSize | back to summary |
|---|---|
| public final void setHorizontalSize(int hsize) Sets the horizontal size of the effect kernel.
Min: 0
Max: 255
Default: 1
Identity: 0
| |
| setInput | back to summary |
|---|---|
| public void setInput(Effect input) Sets the input for this
| |
| setPasses | back to summary |
|---|---|
| public final void setPasses(int passes) Sets the number of passes of the effect kernel to control the quality of the blur.
Min: 0
Max: 3
Default: 1
Identity: 0
A setting of 1 creates a low quality blur. A setting of 3 creates
a blur that is very close to a Gaussian blur.
| |
| setVerticalSize | back to summary |
|---|---|
| public final void setVerticalSize(int vsize) Sets the vertical size of the effect kernel.
Min: 0
Max: 255
Default: 1
Identity: 0
| |