javax.swing
Class DebugGraphicsFilter
java.lang.Object
java.awt.image.ImageFilter
java.awt.image.RGBImageFilter
javax.swing.DebugGraphicsFilter
- All Implemented Interfaces:
- Cloneable, ImageConsumer
- class DebugGraphicsFilter
- extends RGBImageFilter
Color filter for DebugGraphics, used for images only.
- Author:
- Dave Karlton
Method Summary |
int |
filterRGB(int x,
int y,
int rgb)
Subclasses must specify a method to convert a single input pixel
in the default RGB ColorModel to a single output pixel. |
color
Color color
DebugGraphicsFilter
DebugGraphicsFilter(Color c)
filterRGB
public int filterRGB(int x,
int y,
int rgb)
- Description copied from class:
RGBImageFilter
- Subclasses must specify a method to convert a single input pixel
in the default RGB ColorModel to a single output pixel.
- Specified by:
filterRGB
in class RGBImageFilter
- Parameters:
rgb
- the integer pixel representation in the default RGB
color model
- Returns:
- a filtered pixel in the default RGB color model.
- See Also:
ColorModel.getRGBdefault()
,
RGBImageFilter.filterRGBPixels(int, int, int, int, int[], int, int)