|
||||||||||
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.LensBlurFilter
public class LensBlurFilter
A filter which use FFTs to simulate lens blur on an image.
Constructor Summary | |
---|---|
LensBlurFilter()
|
Method Summary | |
---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst)
|
BufferedImage |
filter(BufferedImage src,
Struct parameters)
|
float |
getBloom()
Get the bloom factor. |
float |
getBloomThreshold()
Get the bloom threshold. |
float |
getRadius()
Get the radius of the kernel. |
int |
getSides()
Get the number of sides of the aperture. |
void |
setBloom(float bloom)
Set the bloom factor. |
void |
setBloomThreshold(float bloomThreshold)
Set the bloom threshold. |
void |
setRadius(float radius)
Set the radius of the kernel, and hence the amount of blur. |
void |
setSides(int sides)
Set the number of sides of the aperture. |
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 LensBlurFilter()
Method Detail |
---|
public void setRadius(float radius)
radius
- the radius of the blur in pixels.getRadius()
public float getRadius()
setRadius(float)
public void setSides(int sides)
sides
- the number of sidesgetSides()
public int getSides()
setSides(int)
public void setBloom(float bloom)
bloom
- the bloom factorgetBloom()
public float getBloom()
setBloom(float)
public void setBloomThreshold(float bloomThreshold)
bloomThreshold
- the bloom thresholdgetBloomThreshold()
public float getBloomThreshold()
setBloomThreshold(float)
public 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 |