public class WebSafeImageFilter extends ImageFilter
consumerCOMPLETESCANLINES, IMAGEABORTED, IMAGEERROR, RANDOMPIXELORDER, SINGLEFRAME, SINGLEFRAMEDONE, SINGLEPASS, STATICIMAGEDONE, TOPDOWNLEFTRIGHT| Constructor and Description |
|---|
WebSafeImageFilter() |
| Modifier and Type | Method and Description |
|---|---|
static Color |
getSafePixel(Color color)
Returns the Web-safe color nearest the given color.
|
void |
setPixels(int x,
int y,
int w,
int h,
ColorModel model,
byte[] pixels,
int off,
int scansize) |
void |
setPixels(int x,
int y,
int w,
int h,
ColorModel model,
int[] pixels,
int off,
int scansize) |
clone, getFilterInstance, imageComplete, resendTopDownLeftRight, setColorModel, setDimensions, setHints, setPropertiespublic static Color getSafePixel(Color color)
public void setPixels(int x,
int y,
int w,
int h,
ColorModel model,
byte[] pixels,
int off,
int scansize)
setPixels in interface ImageConsumersetPixels in class ImageFilterpublic void setPixels(int x,
int y,
int w,
int h,
ColorModel model,
int[] pixels,
int off,
int scansize)
setPixels in interface ImageConsumersetPixels in class ImageFilterCopyright © 1970-2015 Rogue Wave Software
Built March 24 2015.