com.jhlabs.image
Class RaysFilter
- BufferedImageOp, Cloneable, MotionBlur
A filter which produces the effect of light rays shining out of an image.
filter , getAngle , getCentre , getCentreX , getCentreY , getDistance , getRotation , getZoom , setAngle , setCentre , setCentreX , setCentreY , setDistance , setRotation , setZoom , toString |
RaysFilter
public RaysFilter()
Construct a MotionBlurOp.
filter
public BufferedImage filter(BufferedImage src,
BufferedImage dst)
- filter in interface MotionBlurOp
getColormap
public Colormap getColormap()
Get the colormap to be used for the filter.
getOpacity
public float getOpacity()
Get the opacity of the rays.
getRaysOnly
public boolean getRaysOnly()
Get whether to render only the rays.
- true to render rays only.
getStrength
public float getStrength()
Get the strength of the rays.
getThreshold
public float getThreshold()
Get the threshold value.
setColormap
public void setColormap(Colormap colormap)
Set the colormap to be used for the filter.
setOpacity
public void setOpacity(float opacity)
Set the opacity of the rays.
setRaysOnly
public void setRaysOnly(boolean raysOnly)
Set whether to render only the rays.
raysOnly
- true to render rays only.
setStrength
public void setStrength(float strength)
Set the strength of the rays.
setThreshold
public void setThreshold(float threshold)
Set the threshold value.
threshold
- the threshold value