public class ColorFillFilter
extends java.awt.image.RGBImageFilter
Modifier and Type | Field | Description |
---|---|---|
int |
m_Blue |
Description of the Field
|
int |
m_Green |
Description of the Field
|
int |
m_Red |
Description of the Field
|
Constructor | Description |
---|---|
ColorFillFilter() |
Constructor for the ColorFillFilter object
|
ColorFillFilter(int r,
int g,
int b) |
Constructor for the ColorFillFilter object
|
ColorFillFilter(java.awt.Color color) |
Constructor for the ColorFillFilter object
|
Modifier and Type | Method | Description |
---|---|---|
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
|
clone, getFilterInstance, imageComplete, resendTopDownLeftRight, setDimensions, setHints, setProperties
public int m_Red
public int m_Green
public int m_Blue
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()
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 Parameterpublic void filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dest)