public class RaysFilter extends MotionBlurOp implements DynFiltering
Constructor and Description |
---|
RaysFilter() |
Modifier and Type | Method and Description |
---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst) |
BufferedImage |
filter(BufferedImage src,
Struct parameters) |
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, setCentreX, setCentreY, setDistance, setRotation, setZoom
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
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(lucee.runtime.img.filter.Colormap)
public BufferedImage filter(BufferedImage src, BufferedImage dst)
filter
in interface BufferedImageOp
filter
in class MotionBlurOp
public String toString()
toString
in class MotionBlurOp
public BufferedImage filter(BufferedImage src, Struct parameters) throws PageException
filter
in interface DynFiltering
PageException
Copyright © 2015 Lucee