类 SmearFilter
- java.lang.Object
-
- org.meteoinfo.image.filter.AbstractBufferedImageOp
-
- org.meteoinfo.image.filter.WholeImageFilter
-
- org.meteoinfo.image.filter.SmearFilter
-
- 所有已实现的接口:
BufferedImageOp,Cloneable
public class SmearFilter extends WholeImageFilter
-
-
字段概要
字段 修饰符和类型 字段 说明 static intCIRCLESstatic intCROSSESstatic intLINESstatic intSQUARES-
从类继承的字段 org.meteoinfo.image.filter.WholeImageFilter
originalSpace, transformedSpace
-
-
构造器概要
构造器 构造器 说明 SmearFilter()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected int[]filterPixels(int width, int height, int[] inPixels, Rectangle transformedSpace)Actually filter the pixels.floatgetAngle()Returns the angle of the texture.booleangetBackground()floatgetDensity()intgetDistance()intgetFadeout()floatgetMix()floatgetScatter()intgetShape()voidrandomize()voidsetAngle(float angle)Specifies the angle of the texture.voidsetBackground(boolean background)voidsetDensity(float density)voidsetDistance(int distance)voidsetFadeout(int fadeout)voidsetMix(float mix)voidsetScatter(float scatter)voidsetShape(int shape)StringtoString()-
从类继承的方法 org.meteoinfo.image.filter.WholeImageFilter
filter, transformSpace
-
从类继承的方法 org.meteoinfo.image.filter.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
-
-
-
-
方法详细资料
-
setShape
public void setShape(int shape)
-
getShape
public int getShape()
-
setDistance
public void setDistance(int distance)
-
getDistance
public int getDistance()
-
setDensity
public void setDensity(float density)
-
getDensity
public float getDensity()
-
setScatter
public void setScatter(float scatter)
-
getScatter
public float getScatter()
-
setAngle
public void setAngle(float angle)
Specifies the angle of the texture.- 参数:
angle- the angle of the texture.- 另请参阅:
getAngle()
-
getAngle
public float getAngle()
Returns the angle of the texture.- 返回:
- the angle of the texture.
- 另请参阅:
setAngle(float)
-
setMix
public void setMix(float mix)
-
getMix
public float getMix()
-
setFadeout
public void setFadeout(int fadeout)
-
getFadeout
public int getFadeout()
-
setBackground
public void setBackground(boolean background)
-
getBackground
public boolean getBackground()
-
randomize
public void randomize()
-
filterPixels
protected int[] filterPixels(int width, int height, int[] inPixels, Rectangle transformedSpace)从类复制的说明:WholeImageFilterActually filter the pixels.- 指定者:
filterPixels在类中WholeImageFilter- 参数:
width- the image widthheight- the image heightinPixels- the image pixelstransformedSpace- the output bounds- 返回:
- the output pixels
-
-