com.jhlabs.image
public class GradientWipeFilter extends AbstractBufferedImageOp
Constructor and Description |
---|
GradientWipeFilter() |
Modifier and Type | Method and Description |
---|---|
java.awt.image.BufferedImage |
filter(java.awt.image.BufferedImage src,
java.awt.image.BufferedImage dst) |
float |
getDensity() |
boolean |
getInvert() |
java.awt.image.BufferedImage |
getMask() |
float |
getSoftness()
Get the softness of the dissolve.
|
void |
setDensity(float density)
Set the density of the image in the range 0..1.
|
void |
setInvert(boolean invert) |
void |
setMask(java.awt.image.BufferedImage mask) |
void |
setSoftness(float softness)
Set the softness of the dissolve in the range 0..1.
|
java.lang.String |
toString() |
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
public void setDensity(float density)
public float getDensity()
public void setSoftness(float softness)
softness
- the softnessgetSoftness()
public float getSoftness()
setSoftness(float)
public void setMask(java.awt.image.BufferedImage mask)
public java.awt.image.BufferedImage getMask()
public void setInvert(boolean invert)
public boolean getInvert()
public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)
public java.lang.String toString()
toString
in class java.lang.Object