public class FeedbackFilter extends AbstractBufferedImageOp
filterListener
Constructor and Description |
---|
FeedbackFilter()
Construct a FeedbackFilter.
|
FeedbackFilter(float distance,
float angle,
float rotation,
float zoom)
Construct a FeedbackFilter.
|
Modifier and Type | Method and Description |
---|---|
BufferedImage |
filter(BufferedImage src,
BufferedImage dst) |
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() |
clone, createCompatibleDestImage, createCompatibleDestImage, filterDone, filterInitialize, filterProgress, filterStart, getBounds2D, getMetaData, getPoint2D, getRenderingHints, getRGB, setFilterListener, setRGB
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 iterationpublic 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
filter
in class AbstractBufferedImageOp
Copyright © 2012-2013 Bambi Software Foundation. All Rights Reserved.