|
||||||||||
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.PointFilter
railo.runtime.img.filter.DissolveFilter
public class DissolveFilter
A filter which "dissolves" an image by thresholding the alpha channel with random numbers.
Constructor Summary | |
---|---|
DissolveFilter()
|
Method Summary | |
---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst)
|
BufferedImage |
filter(BufferedImage src,
Struct parameters)
|
int |
filterRGB(int x,
int y,
int rgb)
|
float |
getDensity()
Get the density of the image. |
float |
getSoftness()
Get the softness of the dissolve. |
void |
setDensity(float density)
Set the density of the image in the range 0..1. |
void |
setSoftness(float softness)
Set the softness of the dissolve in the range 0..1. |
String |
toString()
|
Methods inherited from class railo.runtime.img.filter.PointFilter |
---|
setDimensions |
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 DissolveFilter()
Method Detail |
---|
public void setDensity(float density)
density
- the densitygetDensity()
public float getDensity()
setDensity(float)
public void setSoftness(float softness)
softness
- the softnessgetSoftness()
public float getSoftness()
setSoftness(float)
public BufferedImage filter(BufferedImage src, BufferedImage dst)
filter
in interface BufferedImageOp
filter
in class PointFilter
public int filterRGB(int x, int y, int rgb)
filterRGB
in class PointFilter
public String toString()
toString
in class Object
public BufferedImage filter(BufferedImage src, Struct parameters) throws PageException
filter
in interface DynFiltering
filter
in class PointFilter
PageException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |