|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.awt.image.ImageFilter
java.awt.image.RGBImageFilter
es.prodevelop.gvsig.mobile.fmap.util.graph2d.RGBAImageFilter
Image filter to perform transparency for a given color
Field Summary |
Fields inherited from interface java.awt.image.ImageConsumer |
COMPLETESCANLINES, IMAGEABORTED, IMAGEERROR, RANDOMPIXELORDER, SINGLEFRAME, SINGLEFRAMEDONE, SINGLEPASS, STATICIMAGEDONE, TOPDOWNLEFTRIGHT |
Constructor Summary | |
RGBAImageFilter(java.awt.Color transp_c)
Construtcor. |
Method Summary | |
int |
filterRGB(int x,
int y,
int rgb)
Returns the provided color or a transparent pixel if the color matches the color indicated as transparent |
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, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RGBAImageFilter(java.awt.Color transp_c)
transp_c
- the color that will be considered transparentMethod Detail |
public int filterRGB(int x, int y, int rgb)
x
- the x coordinatey
- the y coordinatergb
- the RGB code
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |