|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jhlabs.image.AbstractBufferedImageOp
com.jhlabs.image.PointFilter
com.jhlabs.image.CheckFilter
public class CheckFilter
A Filter to draw grids and check patterns.
Field Summary |
---|
Fields inherited from class com.jhlabs.image.PointFilter |
---|
canFilterIndexColorModel |
Constructor Summary | |
---|---|
CheckFilter()
|
Method Summary | |
---|---|
int |
filterRGB(int x,
int y,
int rgb)
|
float |
getAngle()
Get the angle of the texture. |
int |
getBackground()
Get the background color. |
int |
getForeground()
Get the foreground color. |
int |
getFuzziness()
Get the fuzziness of the texture. |
int |
getXScale()
Get the X scale of the texture. |
int |
getYScale()
Get the Y scale of the texture. |
void |
setAngle(float angle)
Set the angle of the texture. |
void |
setBackground(int background)
Set the background color. |
void |
setForeground(int foreground)
Set the foreground color. |
void |
setFuzziness(int fuzziness)
Set the fuzziness of the texture. |
void |
setXScale(int xScale)
Set the X scale of the texture. |
void |
setYScale(int yScale)
Set the Y scale of the texture. |
java.lang.String |
toString()
|
Methods inherited from class com.jhlabs.image.PointFilter |
---|
filter, setDimensions |
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp |
---|
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CheckFilter()
Method Detail |
---|
public void setForeground(int foreground)
foreground
- the color.getForeground()
public int getForeground()
setForeground(int)
public void setBackground(int background)
background
- the color.getBackground()
public int getBackground()
setBackground(int)
public void setXScale(int xScale)
xScale
- the scale.getXScale()
public int getXScale()
setXScale(int)
public void setYScale(int yScale)
yScale
- the scale.getYScale()
public int getYScale()
setYScale(int)
public void setFuzziness(int fuzziness)
fuzziness
- the fuzziness.getFuzziness()
public int getFuzziness()
setFuzziness(int)
public void setAngle(float angle)
angle
- the angle of the texture.getAngle()
public float getAngle()
setAngle(float)
public int filterRGB(int x, int y, int rgb)
filterRGB
in class PointFilter
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |