BufferedImageOp, Cloneablepublic class DoGFilter extends AbstractBufferedImageOp
| 构造器 | 说明 |
|---|---|
DoGFilter() |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst) |
|
boolean |
getInvert() |
|
boolean |
getNormalize() |
|
float |
getRadius1() |
Get the radius of the kernel.
|
float |
getRadius2() |
Get the radius of the kernel.
|
void |
setInvert(boolean invert) |
|
void |
setNormalize(boolean normalize) |
|
void |
setRadius1(float radius1) |
Set the radius of the kernel, and hence the amount of blur.
|
void |
setRadius2(float radius2) |
Set the radius of the kernel, and hence the amount of blur.
|
String |
toString() |
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGBpublic void setRadius1(float radius1)
radius1 - the radius of the blur in pixels.
min-value 0
max-value 100+public float getRadius1()
public void setRadius2(float radius2)
radius2 - the radius of the blur in pixels.
min-value 0
max-value 100+public float getRadius2()
public void setNormalize(boolean normalize)
public boolean getNormalize()
public void setInvert(boolean invert)
public boolean getInvert()
public BufferedImage filter(BufferedImage src, BufferedImage dst)
Copyright © 2019. All rights reserved.