BufferedImageOp, Cloneablepublic 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 direction
min-value 0getHRadius()public int getHRadius()
setHRadius(int)public void setVRadius(int vRadius)
vRadius - the radius of the blur in the vertical direction
min-value 0getVRadius()public int getVRadius()
setVRadius(int)public void setRadius(int radius)
radius - the radius
min-value 0getRadius()public int getRadius()
setRadius(int)public void setThreshold(int threshold)
threshold - the threshold valuegetThreshold()public int getThreshold()
setThreshold(int)Copyright © 2019. All rights reserved.