public class RaysFilter extends MotionBlurOp
Modifier and Type | Field and Description |
---|---|
private Colormap |
colormap |
private float |
opacity |
private boolean |
raysOnly |
private float |
strength |
private float |
threshold |
Constructor and Description |
---|
RaysFilter() |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
filter(BufferedImage src,
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.
|
String |
toString() |
getAngle, getCentre, getCentreX, getCentreY, getDistance, getRotation, getZoom, setAngle, setCentre, setCentreX, setCentreY, setDistance, setRotation, setZoom
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
private float opacity
private float threshold
private float strength
private boolean raysOnly
public RaysFilter()
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 BufferedImage filter(BufferedImage src, BufferedImage dst)
filter
in interface BufferedImageOp
filter
in class MotionBlurOp
public String toString()
toString
in class MotionBlurOp
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses