Package com.jhlabs.image
Class GlowFilter
java.lang.Object
com.jhlabs.image.AbstractBufferedImageOp
com.jhlabs.image.ConvolveFilter
com.jhlabs.image.GaussianFilter
com.jhlabs.image.GlowFilter
- All Implemented Interfaces:
BufferedImageOp
,Cloneable
A filter which adds Gaussian blur to an image, producing a glowing effect.
-
Field Summary
Fields inherited from class com.jhlabs.image.GaussianFilter
kernel, radius
Fields inherited from class com.jhlabs.image.ConvolveFilter
alpha, CLAMP_EDGES, premultiplyAlpha, WRAP_EDGES, ZERO_EDGES
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfilter
(BufferedImage src, BufferedImage dst) float
Get the amount of glow.void
setAmount
(float amount) Set the amount of glow.toString()
Methods inherited from class com.jhlabs.image.GaussianFilter
convolveAndTranspose, getRadius, makeKernel, setRadius
Methods inherited from class com.jhlabs.image.ConvolveFilter
convolve, convolve, convolveH, convolveHV, convolveV, createCompatibleDestImage, getBounds2D, getEdgeAction, getKernel, getPoint2D, getPremultiplyAlpha, getRenderingHints, getUseAlpha, setEdgeAction, setKernel, setPremultiplyAlpha, setUseAlpha
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp
clone, getRGB, setRGB
-
Constructor Details
-
GlowFilter
public GlowFilter()
-
-
Method Details
-
setAmount
public void setAmount(float amount) Set the amount of glow.- Parameters:
amount
- the amount- See Also:
-
getAmount
public float getAmount()Get the amount of glow.- Returns:
- the amount
- See Also:
-
filter
- Specified by:
filter
in interfaceBufferedImageOp
- Overrides:
filter
in classGaussianFilter
-
toString
- Overrides:
toString
in classGaussianFilter
-