类 FillFilter
- java.lang.Object
-
- org.meteoinfo.image.filter.AbstractBufferedImageOp
-
- org.meteoinfo.image.filter.PointFilter
-
- org.meteoinfo.image.filter.FillFilter
-
- 所有已实现的接口:
java.awt.image.BufferedImageOp,java.lang.Cloneable
public class FillFilter extends PointFilter
A filter which fills an image with a given color. Normally you would just call Graphics.fillRect but it can sometimes be useful to go via a filter to fit in with an existing API.
-
-
字段概要
-
从类继承的字段 org.meteoinfo.image.filter.PointFilter
canFilterIndexColorModel
-
-
构造器概要
构造器 构造器 说明 FillFilter()Construct a FillFilter.FillFilter(int color)Construct a FillFilter.
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 intfilterRGB(int x, int y, int rgb)intgetFillColor()Get the fill color.voidsetFillColor(int fillColor)Set the fill color.-
从类继承的方法 org.meteoinfo.image.filter.PointFilter
filter, setDimensions
-
从类继承的方法 org.meteoinfo.image.filter.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
-
-
-
-
方法详细资料
-
setFillColor
public void setFillColor(int fillColor)
Set the fill color.- 参数:
fillColor- the fill color- 另请参阅:
getFillColor()
-
getFillColor
public int getFillColor()
Get the fill color.- 返回:
- the fill color
- 另请参阅:
setFillColor(int)
-
filterRGB
public int filterRGB(int x, int y, int rgb)- 指定者:
filterRGB在类中PointFilter
-
-