com.partnersoft.v3x.gui
Class BlackAndWhiteFilter
java.lang.Object
java.awt.image.ImageFilter
java.awt.image.RGBImageFilter
com.partnersoft.v3x.gui.BlackAndWhiteFilter
- All Implemented Interfaces:
- java.awt.image.ImageConsumer, java.lang.Cloneable
public class BlackAndWhiteFilter
- extends java.awt.image.RGBImageFilter
An image filter that will create a black and white image
| Fields inherited from class java.awt.image.RGBImageFilter |
canFilterIndexColorModel, newmodel, origmodel |
| Fields inherited from class java.awt.image.ImageFilter |
consumer |
| Fields inherited from interface java.awt.image.ImageConsumer |
COMPLETESCANLINES, IMAGEABORTED, IMAGEERROR, RANDOMPIXELORDER, SINGLEFRAME, SINGLEFRAMEDONE, SINGLEPASS, STATICIMAGEDONE, TOPDOWNLEFTRIGHT |
|
Method Summary |
int |
filterRGB(int x,
int y,
int rgb)
mental note; black is not 0x00000000!!!!! |
| Methods inherited from class java.awt.image.RGBImageFilter |
filterIndexColorModel, filterRGBPixels, setColorModel, setPixels, setPixels, substituteColorModel |
| Methods inherited from class java.awt.image.ImageFilter |
clone, getFilterInstance, imageComplete, resendTopDownLeftRight, setDimensions, setHints, setProperties |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlackAndWhiteFilter
public BlackAndWhiteFilter(int newLimit)
- Create a new BlackAndWhiteFilter.
BlackAndWhiteFilter
public BlackAndWhiteFilter()
filterRGB
public final int filterRGB(int x,
int y,
int rgb)
- mental note; black is not 0x00000000!!!!!
- Specified by:
filterRGB in class java.awt.image.RGBImageFilter