|
||||||||||
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.PointFilter
railo.runtime.img.filter.LookupFilter
public class LookupFilter
A filter which uses the brightness of each pixel to lookup a color from a colormap.
Constructor Summary | |
---|---|
LookupFilter()
Construct a LookupFilter. |
|
LookupFilter(Colormap colormap)
Construct a LookupFilter. |
Method Summary | |
---|---|
BufferedImage |
filter(BufferedImage src,
Struct parameters)
|
int |
filterRGB(int x,
int y,
int rgb)
|
Colormap |
getColormap()
Get the colormap to be used for the filter. |
void |
setColormap(Colormap colormap)
Set the colormap to be used for the filter. |
String |
toString()
|
Methods inherited from class railo.runtime.img.filter.PointFilter |
---|
filter, setDimensions |
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 LookupFilter()
public LookupFilter(Colormap colormap)
colormap
- the color mapMethod Detail |
---|
public void setColormap(Colormap colormap)
colormap
- the colormapgetColormap()
public Colormap getColormap()
setColormap(railo.runtime.img.filter.Colormap)
public int filterRGB(int x, int y, int rgb)
filterRGB
in class PointFilter
public String toString()
toString
in class Object
public BufferedImage filter(BufferedImage src, Struct parameters) throws PageException
filter
in interface DynFiltering
filter
in class PointFilter
PageException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |