| java.awt.image.RGBImageFilter com.jidesoft.icons.MaskFilter
MaskFilter | public class MaskFilter extends RGBImageFilter (Code) | | An image filter that will replace one color in an image
with another color.
|
MaskFilter | public MaskFilter(Color oldColor, Color newColor)(Code) | | Constructs a MaskFilter object that filters color of image to another color
Parameters: oldColor - old color in exist image that needs to be replaced by new color Parameters: newColor - new color to replace the old color |
createImage | public static Image createImage(Image i, Color oldColor, Color newColor)(Code) | | Creates an image from an existing one by replacing the old color with the new color.
|
createNegativeImage | public static Image createNegativeImage(Image i)(Code) | | Creates an image as negative of an existing one. It will
basically replace the black color with white color.
|
filterRGB | public int filterRGB(int x, int y, int rgb)(Code) | | Overrides RGBImageFilter.filterRGB .
|
Methods inherited from java.awt.image.RGBImageFilter | public IndexColorModel filterIndexColorModel(IndexColorModel icm)(Code)(Java Doc) abstract public int filterRGB(int x, int y, int rgb)(Code)(Java Doc) public void filterRGBPixels(int x, int y, int w, int h, int pixels, int off, int scansize)(Code)(Java Doc) public void setColorModel(ColorModel model)(Code)(Java Doc) public void setPixels(int x, int y, int w, int h, ColorModel model, byte pixels, int off, int scansize)(Code)(Java Doc) public void setPixels(int x, int y, int w, int h, ColorModel model, int pixels, int off, int scansize)(Code)(Java Doc) public void substituteColorModel(ColorModel oldcm, ColorModel newcm)(Code)(Java Doc)
|
|
|