public class SmartBlurFilter extends AbstractBufferedImageOp implements DynFiltering
Constructor and Description |
---|
SmartBlurFilter() |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst) |
BufferedImage |
filter(BufferedImage src,
Struct parameters) |
int |
getHRadius()
Get the horizontal size of the blur.
|
int |
getRadius()
Get the radius of the effect.
|
int |
getThreshold()
Get the threshold value.
|
int |
getVRadius()
Get the vertical size of the blur.
|
void |
setHRadius(int hRadius)
Set the horizontal size of the blur.
|
void |
setRadius(int radius)
Set the radius of the effect.
|
void |
setThreshold(int threshold)
Set the threshold value.
|
void |
setVRadius(int vRadius)
Set the vertical size of the blur.
|
String |
toString() |
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
public SmartBlurFilter()
public BufferedImage filter(BufferedImage src, BufferedImage dst)
filter
in interface BufferedImageOp
public void setHRadius(int hRadius)
hRadius
- the radius of the blur in the horizontal directiongetHRadius()
public int getHRadius()
setHRadius(int)
public void setVRadius(int vRadius)
vRadius
- the radius of the blur in the vertical directiongetVRadius()
public int getVRadius()
setVRadius(int)
public void setRadius(int radius)
radius
- the radiusgetRadius()
public int getRadius()
setRadius(int)
public void setThreshold(int threshold)
threshold
- the threshold valuegetThreshold()
public int getThreshold()
setThreshold(int)
public BufferedImage filter(BufferedImage src, Struct parameters) throws PageException
filter
in interface DynFiltering
PageException
Copyright © 2015 Lucee