public class SmartBlurFilter extends AbstractBufferedImageOp
Constructor and Description |
---|
SmartBlurFilter() |
Modifier and Type | Method and Description |
---|---|
java.awt.image.BufferedImage |
filter(java.awt.image.BufferedImage src,
java.awt.image.BufferedImage dst) |
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.
|
java.lang.String |
toString() |
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB, stringToColor
public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)
public void setHRadius(int hRadius)
hRadius
- the radius of the blur in the horizontal direction. The minimum value is 0.getHRadius()
public int getHRadius()
setHRadius(int)
public void setVRadius(int vRadius)
vRadius
- the radius of the blur in the vertical direction. The minimum value is 0.getVRadius()
public int getVRadius()
setVRadius(int)
public void setRadius(int radius)
radius
- the radius. The minimum value is 0.getRadius()
public int getRadius()
setRadius(int)
public void setThreshold(int threshold)
threshold
- the threshold valuegetThreshold()
public int getThreshold()
setThreshold(int)
public java.lang.String toString()
toString
in class java.lang.Object