public class SilhouetteFilter extends BaseFilter
canFilterIndexColorModel, newmodel, origmodelconsumerCOMPLETESCANLINES, IMAGEABORTED, IMAGEERROR, RANDOMPIXELORDER, SINGLEFRAME, SINGLEFRAMEDONE, SINGLEPASS, STATICIMAGEDONE, TOPDOWNLEFTRIGHT| Constructor and Description |
|---|
SilhouetteFilter(Color color)
Constructs a Filter that can be used to create a silhouette.
|
| Modifier and Type | Method and Description |
|---|---|
int |
filterRGB(int x,
int y,
int rgb)
Overrides
RGBImageFilter.filterRGB. |
getBlue, getGreen, getNTSCValue, getRed, getRGBfilterIndexColorModel, filterRGBPixels, setColorModel, setPixels, setPixels, substituteColorModelclone, getFilterInstance, imageComplete, resendTopDownLeftRight, setDimensions, setHints, setPropertiespublic SilhouetteFilter(Color color)
color - the color of the silhouette.public int filterRGB(int x,
int y,
int rgb)
RGBImageFilter.filterRGB.filterRGB in class RGBImageFilterx - the horizontal position of the pixel.y - the vertical position of the pixel.rgb - the color of the pixel.Copyright © 2002-2013 Edwin Dankert. All Rights Reserved.