|
||||||||||
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.MotionBlurFilter
public class MotionBlurFilter
A filter which produces motion blur the slow, but higher-quality way.
Constructor Summary | |
---|---|
MotionBlurFilter()
Construct a MotionBlurFilter. |
|
MotionBlurFilter(float distance,
float angle,
float rotation,
float zoom)
Construct a MotionBlurFilter. |
Method Summary | |
---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst)
|
BufferedImage |
filter(BufferedImage src,
Struct parameters)
|
float |
getAngle()
Returns the angle of blur. |
float |
getDistance()
Get the distance of blur. |
boolean |
getPremultiplyAlpha()
Get whether to premultiply the alpha channel. |
float |
getRotation()
Get the blur rotation. |
boolean |
getWrapEdges()
Get whether to wrap at the image edges. |
float |
getZoom()
Get the blur zoom. |
void |
setAngle(float angle)
Specifies the angle of blur. |
void |
setDistance(float distance)
Set the distance of blur. |
void |
setPremultiplyAlpha(boolean premultiplyAlpha)
Set whether to premultiply the alpha channel. |
void |
setRotation(float rotation)
Set the blur rotation. |
void |
setWrapEdges(boolean wrapEdges)
Set whether to wrap at the image edges. |
void |
setZoom(float zoom)
|
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 MotionBlurFilter()
public MotionBlurFilter(float distance, float angle, float rotation, float zoom)
distance
- the distance of blur.angle
- the angle of blur.rotation
- the angle of rotation.zoom
- the zoom factor.Method Detail |
---|
public void setAngle(float angle)
angle
- the angle of blur.getAngle()
public float getAngle()
setAngle(float)
public void setDistance(float distance)
distance
- the distance of blur.getDistance()
public float getDistance()
setDistance(float)
public void setRotation(float rotation)
rotation
- the angle of rotation.getRotation()
public float getRotation()
setRotation(float)
public void setZoom(float zoom)
public float getZoom()
setZoom(float)
public void setWrapEdges(boolean wrapEdges)
wrapEdges
- true if it should wrap.getWrapEdges()
public boolean getWrapEdges()
setWrapEdges(boolean)
public void setPremultiplyAlpha(boolean premultiplyAlpha)
premultiplyAlpha
- true to premultiply the alphagetPremultiplyAlpha()
public boolean getPremultiplyAlpha()
setPremultiplyAlpha(boolean)
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 |