|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jhlabs.image.AbstractBufferedImageOp
com.jhlabs.image.MotionBlurOp
com.jhlabs.image.RaysFilter
public class RaysFilter
A filter which produces the effect of light rays shining out of an image.
Constructor Summary | |
---|---|
RaysFilter()
|
Method Summary | |
---|---|
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()
|
Methods inherited from class com.jhlabs.image.MotionBlurOp |
---|
getAngle, getCentre, getCentreX, getCentreY, getDistance, getRotation, getZoom, setAngle, setCentre, setCentreX, setCentreY, setDistance, setRotation, setZoom |
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp |
---|
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RaysFilter()
Method Detail |
---|
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
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |