类 CheckFilter
- java.lang.Object
-
- org.meteoinfo.image.filter.AbstractBufferedImageOp
-
- org.meteoinfo.image.filter.PointFilter
-
- org.meteoinfo.image.filter.CheckFilter
-
- 所有已实现的接口:
java.awt.image.BufferedImageOp,java.lang.Cloneable
public class CheckFilter extends PointFilter
A Filter to draw grids and check patterns.
-
-
字段概要
-
从类继承的字段 org.meteoinfo.image.filter.PointFilter
canFilterIndexColorModel
-
-
构造器概要
构造器 构造器 说明 CheckFilter()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 intfilterRGB(int x, int y, int rgb)floatgetAngle()Get the angle of the texture.intgetBackground()Get the background color.intgetForeground()Get the foreground color.intgetFuzziness()Get the fuzziness of the texture.intgetXScale()Get the X scale of the texture.intgetYScale()Get the Y scale of the texture.voidsetAngle(float angle)Set the angle of the texture.voidsetBackground(int background)Set the background color.voidsetForeground(int foreground)Set the foreground color.voidsetFuzziness(int fuzziness)Set the fuzziness of the texture.voidsetXScale(int xScale)Set the X scale of the texture.voidsetYScale(int yScale)Set the Y scale of the texture.java.lang.StringtoString()-
从类继承的方法 org.meteoinfo.image.filter.PointFilter
filter, setDimensions
-
从类继承的方法 org.meteoinfo.image.filter.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
-
-
-
-
方法详细资料
-
setForeground
public void setForeground(int foreground)
Set the foreground color.- 参数:
foreground- the color.- 另请参阅:
getForeground()
-
getForeground
public int getForeground()
Get the foreground color.- 返回:
- the color.
- 另请参阅:
setForeground(int)
-
setBackground
public void setBackground(int background)
Set the background color.- 参数:
background- the color.- 另请参阅:
getBackground()
-
getBackground
public int getBackground()
Get the background color.- 返回:
- the color.
- 另请参阅:
setBackground(int)
-
setXScale
public void setXScale(int xScale)
Set the X scale of the texture.- 参数:
xScale- the scale.- 另请参阅:
getXScale()
-
getXScale
public int getXScale()
Get the X scale of the texture.- 返回:
- the scale.
- 另请参阅:
setXScale(int)
-
setYScale
public void setYScale(int yScale)
Set the Y scale of the texture.- 参数:
yScale- the scale.- 另请参阅:
getYScale()
-
getYScale
public int getYScale()
Get the Y scale of the texture.- 返回:
- the scale.
- 另请参阅:
setYScale(int)
-
setFuzziness
public void setFuzziness(int fuzziness)
Set the fuzziness of the texture.- 参数:
fuzziness- the fuzziness.- 另请参阅:
getFuzziness()
-
getFuzziness
public int getFuzziness()
Get the fuzziness of the texture.- 返回:
- the fuzziness.
- 另请参阅:
setFuzziness(int)
-
setAngle
public void setAngle(float angle)
Set the angle of the texture.- 参数:
angle- the angle of the texture.- 另请参阅:
getAngle()
-
getAngle
public float getAngle()
Get the angle of the texture.- 返回:
- the angle of the texture.
- 另请参阅:
setAngle(float)
-
filterRGB
public int filterRGB(int x, int y, int rgb)- 指定者:
filterRGB在类中PointFilter
-
toString
public java.lang.String toString()
- 覆盖:
toString在类中java.lang.Object
-
-