com.jhlabs.image
Class GradientWipeFilter
- BufferedImageOp, Cloneable
public class GradientWipeFilter
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
public GradientWipeFilter()
filter
public BufferedImage filter(BufferedImage src,
BufferedImage dst)
getDensity
public float getDensity()
getInvert
public boolean getInvert()
getMask
public BufferedImage getMask()
getSoftness
public float getSoftness()
Get the softness of the dissolve.
setDensity
public void setDensity(float density)
Set the density of the image in the range 0..1.
*arg density The density
setInvert
public void setInvert(boolean invert)
setMask
public void setMask(BufferedImage mask)
setSoftness
public void setSoftness(float softness)
Set the softness of the dissolve in the range 0..1.
toString
public String toString()