public abstract class TransferFilter
extends java.awt.image.RGBImageFilter
implements java.io.Serializable
| Modifier and Type | Field and Description |
|---|---|
protected int[] |
bTable |
protected int[] |
gTable |
protected boolean |
initialized |
protected int[] |
rTable |
| Constructor and Description |
|---|
TransferFilter() |
| Modifier and Type | Method and Description |
|---|---|
int |
filterRGB(int x,
int y,
int rgb) |
protected void |
initialize() |
protected int[] |
makeTable() |
void |
setDimensions(int width,
int height) |
protected int |
transferFunction(int v) |
filterIndexColorModel, filterRGBPixels, setColorModel, setPixels, setPixels, substituteColorModelprotected int[] rTable
protected int[] gTable
protected int[] bTable
protected boolean initialized
public int filterRGB(int x,
int y,
int rgb)
filterRGB in class java.awt.image.RGBImageFilterpublic void setDimensions(int width,
int height)
setDimensions in interface java.awt.image.ImageConsumersetDimensions in class java.awt.image.ImageFilterprotected void initialize()
protected int[] makeTable()
protected int transferFunction(int v)