public class LensBlurFilter extends AbstractBufferedImageOp
Constructor and Description |
---|
LensBlurFilter() |
Modifier and Type | Method and Description |
---|---|
java.awt.image.BufferedImage |
filter(java.awt.image.BufferedImage src,
java.awt.image.BufferedImage dst) |
float |
getBloom() |
float |
getBloomThreshold() |
float |
getRadius()
Get the radius of the kernel.
|
int |
getSides() |
void |
setBloom(float bloom) |
void |
setBloomThreshold(float bloomThreshold) |
void |
setRadius(float radius)
Set the radius of the kernel, and hence the amount of blur.
|
void |
setSides(int sides) |
java.lang.String |
toString() |
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
public void setRadius(float radius)
radius
- the radius of the blur in pixels.public float getRadius()
public void setSides(int sides)
public int getSides()
public void setBloom(float bloom)
public float getBloom()
public void setBloomThreshold(float bloomThreshold)
public float getBloomThreshold()
public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)
public java.lang.String toString()
toString
in class java.lang.Object