|
||||||||||
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
com.l2fprod.util.ColorFillFilter
public class ColorFillFilter
Field Summary | |
---|---|
int |
m_Blue
Description of the Field |
int |
m_Green
Description of the Field |
int |
m_Red
Description of the Field |
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 | |
---|---|
ColorFillFilter()
Constructor for the ColorFillFilter object |
|
ColorFillFilter(java.awt.Color color)
Constructor for the ColorFillFilter object |
|
ColorFillFilter(int r,
int g,
int b)
Constructor for the ColorFillFilter object |
Method Summary | |
---|---|
void |
filter(java.awt.image.BufferedImage src,
java.awt.image.BufferedImage dest)
|
int |
filterRGB(int x,
int y,
int rgb)
Description of the Method |
void |
setBlue(int b)
Sets the Blue attribute of the ColorFillFilter object |
void |
setColor(int r,
int g,
int b)
Sets the Color attribute of the ColorFillFilter object |
void |
setGreen(int g)
Sets the Green attribute of the ColorFillFilter object |
void |
setRed(int r)
Sets the Red attribute of the ColorFillFilter object |
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 |
Field Detail |
---|
public int m_Red
public int m_Green
public int m_Blue
Constructor Detail |
---|
public ColorFillFilter(int r, int g, int b)
r
- Description of Parameterg
- Description of Parameterb
- Description of Parameterpublic ColorFillFilter(java.awt.Color color)
color
- Description of Parameterpublic ColorFillFilter()
Method Detail |
---|
public void setColor(int r, int g, int b)
r
- The new Color valueg
- The new Color valueb
- The new Color valuepublic void setRed(int r)
r
- The new Red valuepublic void setGreen(int g)
g
- The new Green valuepublic void setBlue(int b)
b
- The new Blue valuepublic int filterRGB(int x, int y, int rgb)
filterRGB
in class java.awt.image.RGBImageFilter
x
- Description of Parametery
- Description of Parameterrgb
- Description of Parameter
public void filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dest)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |