public class SmartBlurFilter extends AbstractBufferedImageOp
| 构造器和说明 |
|---|
SmartBlurFilter() |
| 限定符和类型 | 方法和说明 |
|---|---|
BufferedImage |
filter(BufferedImage src,
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.
|
String |
toString() |
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGBpublic BufferedImage filter(BufferedImage src, BufferedImage dst)
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)Copyright © 2015. All rights reserved.