Package com.jhlabs.image
Class GradientWipeFilter
java.lang.Object
com.jhlabs.image.AbstractBufferedImageOp
com.jhlabs.image.GradientWipeFilter
- All Implemented Interfaces:
BufferedImageOp
,Cloneable
A filter which can be used to produce wipes by transferring the luma of a mask image into the alpha channel of the source.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfilter
(BufferedImage src, BufferedImage dst) float
boolean
getMask()
float
void
setDensity
(float density) Set the density of the image in the range 0..1.void
setInvert
(boolean invert) void
setMask
(BufferedImage mask) void
setSoftness
(float softness) toString()
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
-
Constructor Details
-
GradientWipeFilter
public GradientWipeFilter()
-
-
Method Details
-
setDensity
public void setDensity(float density) Set the density of the image in the range 0..1. *arg density The density -
getDensity
public float getDensity() -
setSoftness
public void setSoftness(float softness) -
getSoftness
public float getSoftness() -
setMask
-
getMask
-
setInvert
public void setInvert(boolean invert) -
getInvert
public boolean getInvert() -
filter
-
toString
-