|
||||||||||
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.WholeImageFilter
railo.runtime.img.filter.BinaryFilter
public abstract class BinaryFilter
The superclass for some of the filters which work on binary images.
Constructor Summary | |
---|---|
BinaryFilter()
|
Method Summary | |
---|---|
BufferedImage |
filter(BufferedImage src,
Struct parameters)
|
BinaryFunction |
getBlackFunction()
|
Colormap |
getColormap()
Get the colormap to be used for the filter. |
int |
getIterations()
Get the number of iterations the effect is performed. |
int |
getNewColor()
|
void |
setBlackFunction(BinaryFunction blackFunction)
|
void |
setColormap(Colormap colormap)
Set the colormap to be used for the filter. |
void |
setIterations(int iterations)
Set the number of iterations the effect is performed. |
void |
setNewColor(int newColor)
|
Methods inherited from class railo.runtime.img.filter.WholeImageFilter |
---|
filter |
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, toString, wait, wait, wait |
Constructor Detail |
---|
public BinaryFilter()
Method Detail |
---|
public void setIterations(int iterations)
iterations
- the number of iterationsgetIterations()
public int getIterations()
setIterations(int)
public void setColormap(Colormap colormap)
colormap
- the colormapgetColormap()
public Colormap getColormap()
setColormap(railo.runtime.img.filter.Colormap)
public void setNewColor(int newColor)
public int getNewColor()
public void setBlackFunction(BinaryFunction blackFunction)
public BinaryFunction getBlackFunction()
public BufferedImage filter(BufferedImage src, Struct parameters) throws PageException
filter
in interface DynFiltering
filter
in class WholeImageFilter
PageException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |