public class ColourFilter
extends java.awt.image.RGBImageFilter
Modifier and Type | Field and Description |
---|---|
static int |
BLUE_MASK
The mask for selecting the blue bits.
|
static int |
GREEN_MASK
The mask for selecting the green bits.
|
static int |
RED_GREEN_BLUE_MASK
The mask for selecting the red, green, and blue bits.
|
static int |
RED_MASK
The mask for selecting the red bits.
|
Constructor and Description |
---|
ColourFilter(int mask)
Create an ColourFilter.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone() |
int |
filterRGB(int x,
int y,
int rgb)
Converts a pixel by applying an or operation.
|
filterIndexColorModel, filterRGBPixels, setColorModel, setPixels, setPixels, substituteColorModel
public static final int RED_MASK
public static final int GREEN_MASK
public static final int BLUE_MASK
public static final int RED_GREEN_BLUE_MASK