BufferedImageOppublic class GaussianBlurFilter extends AbstractFilter
| Constructor | Description |
|---|---|
GaussianBlurFilter() |
Creates a new blur filter with a default radius of 3.
|
GaussianBlurFilter(int radius) |
Creates a new blur filter with the specified radius.
|
| Modifier and Type | Method | Description |
|---|---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst) |
|
int |
getRadius() |
Returns the radius used by this filter, in pixels.
|
addPropertyChangeListener, addPropertyChangeListener, addVetoableChangeListener, addVetoableChangeListener, clone, fireIndexedPropertyChange, firePropertyChange, firePropertyChange, fireVetoableChange, fireVetoableChange, getPropertyChangeListeners, getPropertyChangeListeners, getVetoableChangeListeners, getVetoableChangeListeners, hasPropertyChangeListeners, hasVetoableChangeListeners, removePropertyChangeListener, removePropertyChangeListener, removeVetoableChangeListener, removeVetoableChangeListenercreateCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHintspublic 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 blurpublic int getRadius()
Returns the radius used by this filter, in pixels.
public BufferedImage filter(BufferedImage src, BufferedImage dst)
filter in interface BufferedImageOpfilter in class AbstractFilterCopyright © 2018. All rights reserved.