public class TintFilter extends RGBImageFilter
canFilterIndexColorModel, newmodel, origmodel
consumer
COMPLETESCANLINES, IMAGEABORTED, IMAGEERROR, RANDOMPIXELORDER, SINGLEFRAME, SINGLEFRAMEDONE, SINGLEPASS, STATICIMAGEDONE, TOPDOWNLEFTRIGHT
Constructor and Description |
---|
TintFilter(Color color,
int width,
int height,
Insets insets) |
Modifier and Type | Method and Description |
---|---|
static Image |
createTintedImage(Image i,
Color color,
Insets insets)
Creates a tinted image
|
int |
filterRGB(int x,
int y,
int rgb) |
filterIndexColorModel, filterRGBPixels, setColorModel, setPixels, setPixels, substituteColorModel
clone, getFilterInstance, imageComplete, resendTopDownLeftRight, setDimensions, setHints, setProperties
public int filterRGB(int x, int y, int rgb)
filterRGB
in class RGBImageFilter