org.smartui
Class SuperImageFilter
java.lang.Object
|
+--java.awt.image.ImageFilter
|
+--java.awt.image.RGBImageFilter
|
+--org.smartui.SuperImageFilter
- All Implemented Interfaces:
- java.lang.Cloneable, java.awt.image.ImageConsumer
- public class SuperImageFilter
- extends java.awt.image.RGBImageFilter
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 |
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 |
transColor
protected int transColor
transparent
protected boolean transparent
masks
protected int[] masks
width
protected int width
FTNONE
protected static final int FTNONE
FTFADE
protected static final int FTFADE
FTDARKEN
protected static final int FTDARKEN
filterType
protected int filterType
percent
protected double percent
toR
protected int toR
toG
protected int toG
toB
protected int toB
SuperImageFilter
public SuperImageFilter()
setTransparent
public void setTransparent(java.awt.Color c)
setMask
public void setMask(java.awt.Image mask,
int w,
int h)
setFade
public void setFade(double percent)
setFade
public void setFade(java.awt.Color fadeToColor)
setFade
public void setFade(double percent,
java.awt.Color fadeTo)
setDarken
public void setDarken(double percent)
filterRGB
public int filterRGB(int x,
int y,
int rgb)
- Overrides:
filterRGB
in class java.awt.image.RGBImageFilter