|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jdesktop.beans.AbstractBean
org.jdesktop.swingx.image.AbstractFilter
org.jdesktop.swingx.image.GaussianBlurFilter
public class GaussianBlurFilter
Constructor Summary | |
---|---|
GaussianBlurFilter()
Creates a new blur filter with a default radius of 3. |
|
GaussianBlurFilter(int radius)
Creates a new blur filter with the specified radius. |
Method Summary | |
---|---|
java.awt.image.BufferedImage |
filter(java.awt.image.BufferedImage src,
java.awt.image.BufferedImage dst)
|
int |
getRadius()
Returns the radius used by this filter, in pixels. |
Methods inherited from class org.jdesktop.swingx.image.AbstractFilter |
---|
createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GaussianBlurFilter()
Creates a new blur filter with a default radius of 3.
public GaussianBlurFilter(int radius)
Creates a new blur filter with the specified radius. If the radius is lower than 0, a radius of 0.1 will be used automatically.
radius
- the radius, in pixels, of the blurMethod Detail |
---|
public int getRadius()
Returns the radius used by this filter, in pixels.
public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)
filter
in interface java.awt.image.BufferedImageOp
filter
in class AbstractFilter
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |