类 GradientWipeFilter
- java.lang.Object
-
- org.meteoinfo.image.filter.AbstractBufferedImageOp
-
- org.meteoinfo.image.filter.GradientWipeFilter
-
- 所有已实现的接口:
BufferedImageOp,Cloneable
public class GradientWipeFilter extends AbstractBufferedImageOp
A filter which can be used to produce wipes by transferring the luma of a mask image into the alpha channel of the source.
-
-
构造器概要
构造器 构造器 说明 GradientWipeFilter()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 BufferedImagefilter(BufferedImage src, BufferedImage dst)floatgetDensity()booleangetInvert()BufferedImagegetMask()floatgetSoftness()Get the softness of the dissolve.voidsetDensity(float density)Set the density of the image in the range 0..1.voidsetInvert(boolean invert)voidsetMask(BufferedImage mask)voidsetSoftness(float softness)Set the softness of the dissolve in the range 0..1.StringtoString()-
从类继承的方法 org.meteoinfo.image.filter.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
-
-
-
-
方法详细资料
-
setDensity
public void setDensity(float density)
Set the density of the image in the range 0..1.*arg density The density- 参数:
density- Density
-
getDensity
public float getDensity()
-
setSoftness
public void setSoftness(float softness)
Set the softness of the dissolve in the range 0..1.- 参数:
softness- the softness min-value 0 max-value 1- 另请参阅:
getSoftness()
-
getSoftness
public float getSoftness()
Get the softness of the dissolve.- 返回:
- the softness
- 另请参阅:
setSoftness(float)
-
setMask
public void setMask(BufferedImage mask)
-
getMask
public BufferedImage getMask()
-
setInvert
public void setInvert(boolean invert)
-
getInvert
public boolean getInvert()
-
filter
public BufferedImage filter(BufferedImage src, BufferedImage dst)
-
-