public class RaysFilter extends MotionBlurOp
Constructor and Description |
---|
RaysFilter() |
Modifier and Type | Method and Description |
---|---|
java.awt.image.BufferedImage |
filter(java.awt.image.BufferedImage src,
java.awt.image.BufferedImage dst) |
Colormap |
getColormap()
Get the colormap to be used for the filter.
|
float |
getOpacity()
Get the opacity of the rays.
|
boolean |
getRaysOnly()
Get whether to render only the rays.
|
float |
getStrength()
Get the strength of the rays.
|
float |
getThreshold()
Get the threshold value.
|
void |
setColormap(Colormap colormap)
Set the colormap to be used for the filter.
|
void |
setOpacity(float opacity)
Set the opacity of the rays.
|
void |
setRaysOnly(boolean raysOnly)
Set whether to render only the rays.
|
void |
setStrength(float strength)
Set the strength of the rays.
|
void |
setThreshold(float threshold)
Set the threshold value.
|
java.lang.String |
toString() |
getAngle, getCentre, getCentreX, getCentreY, getDistance, getRotation, getZoom, setAngle, setCentre, setCentreX, setCentreY, setDistance, setRotation, setZoom
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB, stringToColor
public void setOpacity(float opacity)
opacity
- the opacity.getOpacity()
public float getOpacity()
setOpacity(float)
public void setThreshold(float threshold)
threshold
- the threshold valuegetThreshold()
public float getThreshold()
setThreshold(float)
public void setStrength(float strength)
strength
- the strength.getStrength()
public float getStrength()
setStrength(float)
public void setRaysOnly(boolean raysOnly)
raysOnly
- true to render rays only.getRaysOnly()
public boolean getRaysOnly()
setRaysOnly(boolean)
public void setColormap(Colormap colormap)
colormap
- the colormapgetColormap()
public Colormap getColormap()
setColormap(com.jhlabs.image.Colormap)
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 MotionBlurOp
public java.lang.String toString()
toString
in class MotionBlurOp