|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.awt.image.ImageFilter java.awt.image.RGBImageFilter com.jidesoft.icons.TintFilter
public class TintFilter
An image filter that tints the image with a color.
Field Summary |
---|
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 |
Constructor Summary | |
---|---|
TintFilter(Color color,
int width,
int height,
Insets insets)
|
Method Summary | |
---|---|
static Image |
createTintedImage(Image i,
Color color,
Insets insets)
Creates a tinted image |
int |
filterRGB(int x,
int y,
int rgb)
|
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 |
Constructor Detail |
---|
public TintFilter(Color color, int width, int height, Insets insets)
Method Detail |
---|
public int filterRGB(int x, int y, int rgb)
filterRGB
in class RGBImageFilter
public static Image createTintedImage(Image i, Color color, Insets insets)
i
- the original imagecolor
- the color to be tintedinsets
- the insets. The border area with the insets will not be tinted.
|
JIDE 3.5.15 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |