|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.img.filter.AbstractBufferedImageOp
railo.runtime.img.filter.GlintFilter
public class GlintFilter
A filter which renders "glints" on bright parts of the image.
Constructor Summary | |
---|---|
GlintFilter()
|
Method Summary | |
---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst)
|
BufferedImage |
filter(BufferedImage src,
Struct parameters)
|
float |
getAmount()
Get the amount of glint. |
float |
getBlur()
Set the blur that is applied before thresholding. |
Colormap |
getColormap()
Get the colormap to be used for the filter. |
boolean |
getGlintOnly()
Get whether to render the stars and the image or only the stars. |
int |
getLength()
Get the length of the stars. |
float |
getThreshold()
Get the threshold value. |
void |
setAmount(float amount)
Set the amount of glint. |
void |
setBlur(float blur)
Set the blur that is applied before thresholding. |
void |
setColormap(Colormap colormap)
Set the colormap to be used for the filter. |
void |
setGlintOnly(boolean glintOnly)
Set whether to render the stars and the image or only the stars. |
void |
setLength(int length)
Set the length of the stars. |
void |
setThreshold(float threshold)
Set the threshold value. |
String |
toString()
|
Methods inherited from class railo.runtime.img.filter.AbstractBufferedImageOp |
---|
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GlintFilter()
Method Detail |
---|
public void setThreshold(float threshold)
threshold
- the threshold valuegetThreshold()
public float getThreshold()
setThreshold(float)
public void setAmount(float amount)
amount
- the amountgetAmount()
public float getAmount()
setAmount(float)
public void setLength(int length)
length
- the lengthgetLength()
public int getLength()
setLength(int)
public void setBlur(float blur)
blur
- the blur radiusgetBlur()
public float getBlur()
setBlur(float)
public void setGlintOnly(boolean glintOnly)
glintOnly
- true to render only starsgetGlintOnly()
public boolean getGlintOnly()
setGlintOnly(boolean)
public void setColormap(Colormap colormap)
colormap
- the colormapgetColormap()
public Colormap getColormap()
setColormap(railo.runtime.img.filter.Colormap)
public BufferedImage filter(BufferedImage src, BufferedImage dst)
filter
in interface BufferedImageOp
public String toString()
toString
in class Object
public BufferedImage filter(BufferedImage src, Struct parameters) throws PageException
filter
in interface DynFiltering
PageException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |