|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrailo.runtime.img.filter.AbstractBufferedImageOp
railo.runtime.img.filter.ApplyMaskFilter
public class ApplyMaskFilter
A filter which uses the alpha channel of a "mask" image to interpolate between a source and destination image.
Constructor Summary | |
---|---|
ApplyMaskFilter()
Construct an ApplyMaskFIlter. |
|
ApplyMaskFilter(BufferedImage maskImage,
BufferedImage destination)
Construct an ApplyMaskFIlter. |
Method Summary | |
---|---|
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 |
filter(BufferedImage src,
Struct parameters)
|
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()
|
Methods inherited from class railo.runtime.img.filter.AbstractBufferedImageOp |
---|
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ApplyMaskFilter()
public ApplyMaskFilter(BufferedImage maskImage, BufferedImage destination)
maskImage
- the mask imagedestination
- the destination imageMethod Detail |
---|
public 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 BufferedImageOp
public String toString()
toString
in class Object
public BufferedImage filter(BufferedImage src, Struct parameters) throws PageException
filter
in interface DynFiltering
PageException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |