public class MapColorsFilter extends PointFilter implements DynFiltering
Constructor and Description |
---|
MapColorsFilter()
Construct a MapColorsFilter.
|
MapColorsFilter(int oldColor,
int newColor)
Construct a MapColorsFilter.
|
Modifier and Type | Method and Description |
---|---|
BufferedImage |
filter(BufferedImage src,
Struct parameters) |
int |
filterRGB(int x,
int y,
int rgb) |
filter, setDimensions
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
public MapColorsFilter()
public MapColorsFilter(int oldColor, int newColor)
oldColor
- the color to replacenewColor
- the color to replace it withpublic 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