railo.runtime.img.filter
Class ChromaKeyFilter
java.lang.Object
railo.runtime.img.filter.AbstractBufferedImageOp
railo.runtime.img.filter.ChromaKeyFilter
- All Implemented Interfaces:
- BufferedImageOp, Cloneable, DynFiltering
public class ChromaKeyFilter
- extends AbstractBufferedImageOp
- implements DynFiltering
A filter which can be used to produce wipes by transferring the luma of a Destination image into the alpha channel of the source.
ChromaKeyFilter
public ChromaKeyFilter()
setHTolerance
public void setHTolerance(float hTolerance)
- Set the tolerance of the image in the range 0..1.
*arg tolerance The tolerance
getHTolerance
public float getHTolerance()
setSTolerance
public void setSTolerance(float sTolerance)
getSTolerance
public float getSTolerance()
setBTolerance
public void setBTolerance(float bTolerance)
getBTolerance
public float getBTolerance()
setColor
public void setColor(int color)
getColor
public int getColor()
filter
public BufferedImage filter(BufferedImage src,
BufferedImage dst)
- Specified by:
filter
in interface BufferedImageOp
toString
public String toString()
- Overrides:
toString
in class Object
filter
public BufferedImage filter(BufferedImage src,
Struct parameters)
throws PageException
- Specified by:
filter
in interface DynFiltering
- Throws:
PageException
Copyright © 2012 Railo