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()
Get the density.
|
boolean |
getInvert()
Get the invert.
|
java.awt.image.BufferedImage |
getMask()
Get the mask.
|
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)
Set the invert.
|
void |
setMask(java.awt.image.BufferedImage mask)
Set the 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, stringToColor
public void setDensity(float density)
density
- The densitygetDensity()
public float getDensity()
setDensity(float)
public void setSoftness(float softness)
softness
- the softness. min-value: 0, max-value: 1getSoftness()
public float getSoftness()
setSoftness(float)
public void setMask(java.awt.image.BufferedImage mask)
mask
- The maskgetMask()
public java.awt.image.BufferedImage getMask()
setMask(BufferedImage)
public void setInvert(boolean invert)
invert
- True if invertedgetInvert()
public boolean getInvert()
setInvert(boolean)
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