public class ApplyMaskFilter extends AbstractBufferedImageOp
filterListener| Constructor and Description |
|---|
ApplyMaskFilter()
Construct an ApplyMaskFIlter.
|
ApplyMaskFilter(BufferedImage maskImage,
BufferedImage destination)
Construct an ApplyMaskFIlter.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
composeThroughMask(Raster src,
WritableRaster dst,
Raster sel)
Interpolates between two rasters according to the alpha level of a mask raster.
|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst) |
BufferedImage |
getDestination()
Get the destination image.
|
BufferedImage |
getMaskImage()
Get the mask image.
|
void |
setDestination(BufferedImage destination)
Set the destination image.
|
void |
setMaskImage(BufferedImage maskImage)
Set the mask image.
|
String |
toString() |
clone, createCompatibleDestImage, createCompatibleDestImage, filterDone, filterInitialize, filterProgress, filterStart, getBounds2D, getMetaData, getPoint2D, getRenderingHints, getRGB, setFilterListener, setRGBpublic ApplyMaskFilter()
public ApplyMaskFilter(BufferedImage maskImage, BufferedImage destination)
maskImage - the mask imagedestination - the destination imagepublic void setDestination(BufferedImage destination)
destination - the destination imagegetDestination()public BufferedImage getDestination()
setDestination(java.awt.image.BufferedImage)public void setMaskImage(BufferedImage maskImage)
maskImage - the mask imagegetMaskImage()public BufferedImage getMaskImage()
setMaskImage(java.awt.image.BufferedImage)public static void composeThroughMask(Raster src, WritableRaster dst, Raster sel)
src - the source rasterdst - the destination rastersel - the mask rasterpublic BufferedImage filter(BufferedImage src, BufferedImage dst)
filter in interface BufferedImageOpfilter in class AbstractBufferedImageOpCopyright © 2012-2013 Bambi Software Foundation. All Rights Reserved.