|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jhlabs.image.AbstractBufferedImageOp
com.jhlabs.image.MotionBlurOp
public class MotionBlurOp
A filter which produces motion blur the faster, but lower-quality way.
Constructor Summary | |
---|---|
MotionBlurOp()
Construct a MotionBlurOp. |
|
MotionBlurOp(float distance,
float angle,
float rotation,
float zoom)
Construct a MotionBlurOp. |
Method Summary | |
---|---|
java.awt.image.BufferedImage |
filter(java.awt.image.BufferedImage src,
java.awt.image.BufferedImage dst)
|
float |
getAngle()
Returns the angle of blur. |
java.awt.geom.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 of blur. |
float |
getRotation()
Get the blur rotation. |
float |
getZoom()
Get the blur zoom. |
void |
setAngle(float angle)
Specifies the angle of blur. |
void |
setCentre(java.awt.geom.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)
Set the distance of blur. |
void |
setRotation(float rotation)
Set the blur rotation. |
void |
setZoom(float zoom)
Set the blur zoom. |
java.lang.String |
toString()
|
Methods inherited from class com.jhlabs.image.AbstractBufferedImageOp |
---|
clone, createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public MotionBlurOp()
public MotionBlurOp(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)
zoom
- the zoom factor.getZoom()
public float getZoom()
setZoom(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(java.awt.geom.Point2D centre)
centre
- the centergetCentre()
public java.awt.geom.Point2D getCentre()
setCentre(java.awt.geom.Point2D)
public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |