public class LookupFilter extends PointFilter implements DynFiltering
Constructor and Description |
---|
LookupFilter()
Construct a LookupFilter.
|
LookupFilter(Colormap colormap)
Construct a LookupFilter.
|
Modifier and Type | Method and Description |
---|---|
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() |
filter, setDimensions
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
public LookupFilter()
public LookupFilter(Colormap colormap)
colormap
- the color mappublic void setColormap(Colormap colormap)
colormap
- the colormapgetColormap()
public Colormap getColormap()
setColormap(lucee.runtime.img.filter.Colormap)
public int filterRGB(int x, int y, int rgb)
filterRGB
in class PointFilter
public BufferedImage filter(BufferedImage src, Struct parameters) throws PageException
filter
in interface DynFiltering
filter
in class PointFilter
PageException
Copyright © 2015 Lucee