|
||||||||||
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.FeedbackFilter
public class FeedbackFilter
A filter which priduces a video feedback effect by repeated transformations.
Constructor Summary | |
---|---|
FeedbackFilter()
Construct a FeedbackFilter. |
|
FeedbackFilter(float distance,
float angle,
float rotation,
float zoom)
Construct a FeedbackFilter. |
Method Summary | |
---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst)
|
BufferedImage |
filter(BufferedImage src,
Struct parameters)
|
float |
getAngle()
Returns the angle of each iteration. |
Point2D |
getCentre()
Get the centre of the effect as a proportion of the image size. |
float |
getCentreX()
Get the centre of the effect in the X direction as a proportion of the image size. |
float |
getCentreY()
Get the centre of the effect in the Y direction as a proportion of the image size. |
float |
getDistance()
Get the distance to move on each iteration. |
float |
getEndAlpha()
Get the alpha value at the last iteration. |
int |
getIterations()
Get the number of iterations. |
float |
getRotation()
Returns the amount of rotation on each iteration. |
float |
getStartAlpha()
Get the alpha value at the first iteration. |
float |
getZoom()
Returns the amount to scale on each iteration. |
void |
setAngle(float angle)
Specifies the angle of each iteration. |
void |
setCentre(Point2D centre)
Set the centre of the effect as a proportion of the image size. |
void |
setCentreX(float centreX)
Set the centre of the effect in the X direction as a proportion of the image size. |
void |
setCentreY(float centreY)
Set the centre of the effect in the Y direction as a proportion of the image size. |
void |
setDistance(float distance)
Specifies the distance to move on each iteration. |
void |
setEndAlpha(float endAlpha)
Set the alpha value at the last iteration. |
void |
setIterations(int iterations)
Set the number of iterations. |
void |
setRotation(float rotation)
Specifies the amount of rotation on each iteration. |
void |
setStartAlpha(float startAlpha)
Set the alpha value at the first iteration. |
void |
setZoom(float zoom)
Specifies the amount to scale on each iteration. |
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 FeedbackFilter()
public FeedbackFilter(float distance, float angle, float rotation, float zoom)
distance
- the distance to move on each iterationangle
- the angle to move on each iterationrotation
- the amount to rotate on each iterationzoom
- the amount to scale on each iterationMethod Detail |
---|
public void setAngle(float angle)
angle
- the angle of each iteration.getAngle()
public float getAngle()
setAngle(float)
public void setDistance(float distance)
distance
- the distancegetDistance()
public float getDistance()
setDistance(float)
public void setRotation(float rotation)
rotation
- the angle of rotationgetRotation()
public float getRotation()
setRotation(float)
public void setZoom(float zoom)
zoom
- the zoom factorgetZoom()
public float getZoom()
setZoom(float)
public void setStartAlpha(float startAlpha)
startAlpha
- the alpha valuegetStartAlpha()
public float getStartAlpha()
setStartAlpha(float)
public void setEndAlpha(float endAlpha)
endAlpha
- the alpha valuegetEndAlpha()
public float getEndAlpha()
setEndAlpha(float)
public void setCentreX(float centreX)
centreX
- the centergetCentreX()
public float getCentreX()
setCentreX(float)
public void setCentreY(float centreY)
centreY
- the centergetCentreY()
public float getCentreY()
setCentreY(float)
public void setCentre(Point2D centre)
centre
- the centergetCentre()
public Point2D getCentre()
setCentre(java.awt.geom.Point2D)
public void setIterations(int iterations)
iterations
- the number of iterationsgetIterations()
public int getIterations()
setIterations(int)
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 |