Class java.awt.swing.GrayFilter
java.lang.Object
|
+----java.awt.image.ImageFilter
|
+----java.awt.image.RGBImageFilter
|
+----java.awt.swing.GrayFilter
- public class GrayFilter
- extends RGBImageFilter
An image filter that "disables" an image by turning
it into a grayscale image, and brightening the pixels
in the image.
Methods inherited from class java.lang.Object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GrayFilter
public GrayFilter(boolean b,
int p)
createDisabledImage
public static Image createDisabledImage(Image i)
- Creates a disabled image
filterRGB
public int filterRGB(int x,
int y,
int rgb)
- Overrides:
- filterRGB in class RGBImageFilter
Submit a bug or feature
Submit comments/suggestions about new javadoc look.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1998 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A. All Rights Reserved.