类 GradientWipeFilter
- java.lang.Object
-
- org.meteoinfo.image.filter.AbstractBufferedImageOp
-
- org.meteoinfo.image.filter.GradientWipeFilter
-
- 所有已实现的接口:
java.awt.image.BufferedImageOp,java.lang.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()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 java.awt.image.BufferedImagefilter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)floatgetDensity()booleangetInvert()java.awt.image.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(java.awt.image.BufferedImage mask)voidsetSoftness(float softness)Set the softness of the dissolve in the range 0..1.java.lang.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(java.awt.image.BufferedImage mask)
-
getMask
public java.awt.image.BufferedImage getMask()
-
setInvert
public void setInvert(boolean invert)
-
getInvert
public boolean getInvert()
-
filter
public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)
-
toString
public java.lang.String toString()
- 覆盖:
toString在类中java.lang.Object
-
-