类 RaysFilter
- java.lang.Object
-
- org.meteoinfo.image.filter.AbstractBufferedImageOp
-
- org.meteoinfo.image.filter.MotionBlurOp
-
- org.meteoinfo.image.filter.RaysFilter
-
- 所有已实现的接口:
BufferedImageOp,Cloneable
public class RaysFilter extends MotionBlurOp
A filter which produces the effect of light rays shining out of an image.
-
-
构造器概要
构造器 构造器 说明 RaysFilter()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 BufferedImagefilter(BufferedImage src, BufferedImage dst)ColormapgetColormap()Get the colormap to be used for the filter.floatgetOpacity()Get the opacity of the rays.booleangetRaysOnly()Get whether to render only the rays.floatgetStrength()Get the strength of the rays.floatgetThreshold()Get the threshold value.voidsetColormap(Colormap colormap)Set the colormap to be used for the filter.voidsetOpacity(float opacity)Set the opacity of the rays.voidsetRaysOnly(boolean raysOnly)Set whether to render only the rays.voidsetStrength(float strength)Set the strength of the rays.voidsetThreshold(float threshold)Set the threshold value.StringtoString()-
从类继承的方法 org.meteoinfo.image.filter.MotionBlurOp
getAngle, getCentre, getCentreX, getCentreY, getDistance, getRotation, getZoom, setAngle, setCentre, setCentreX, setCentreY, setDistance, setRotation, setZoom
-
从类继承的方法 org.meteoinfo.image.filter.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
-
-
-
-
方法详细资料
-
setOpacity
public void setOpacity(float opacity)
Set the opacity of the rays.- 参数:
opacity- the opacity.- 另请参阅:
getOpacity()
-
getOpacity
public float getOpacity()
Get the opacity of the rays.- 返回:
- the opacity.
- 另请参阅:
setOpacity(float)
-
setThreshold
public void setThreshold(float threshold)
Set the threshold value.- 参数:
threshold- the threshold value- 另请参阅:
getThreshold()
-
getThreshold
public float getThreshold()
Get the threshold value.- 返回:
- the threshold value
- 另请参阅:
setThreshold(float)
-
setStrength
public void setStrength(float strength)
Set the strength of the rays.- 参数:
strength- the strength.- 另请参阅:
getStrength()
-
getStrength
public float getStrength()
Get the strength of the rays.- 返回:
- the strength.
- 另请参阅:
setStrength(float)
-
setRaysOnly
public void setRaysOnly(boolean raysOnly)
Set whether to render only the rays.- 参数:
raysOnly- true to render rays only.- 另请参阅:
getRaysOnly()
-
getRaysOnly
public boolean getRaysOnly()
Get whether to render only the rays.- 返回:
- true to render rays only.
- 另请参阅:
setRaysOnly(boolean)
-
setColormap
public void setColormap(Colormap colormap)
Set the colormap to be used for the filter.- 参数:
colormap- the colormap- 另请参阅:
getColormap()
-
getColormap
public Colormap getColormap()
Get the colormap to be used for the filter.- 返回:
- the colormap
- 另请参阅:
setColormap(org.meteoinfo.image.filter.Colormap)
-
filter
public BufferedImage filter(BufferedImage src, BufferedImage dst)
- 指定者:
filter在接口中BufferedImageOp- 覆盖:
filter在类中MotionBlurOp
-
toString
public String toString()
- 覆盖:
toString在类中MotionBlurOp
-
-