com.alee.graphics.filters
Class MotionBlurOp
java.lang.Object
com.alee.graphics.filters.AbstractBufferedImageOp
com.alee.graphics.filters.MotionBlurOp
- All Implemented Interfaces:
- java.awt.image.BufferedImageOp
- Direct Known Subclasses:
- RaysFilter
public class MotionBlurOp
- extends AbstractBufferedImageOp
A filter which produces motion blur the faster, but lower-quality way.
Constructor Summary |
MotionBlurOp()
|
MotionBlurOp(float distance,
float angle,
float rotation,
float zoom)
|
MotionBlurOp(float distance,
float angle,
float rotation,
float zoom,
float alignX,
float alignY)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MotionBlurOp
public MotionBlurOp()
MotionBlurOp
public MotionBlurOp(float distance,
float angle,
float rotation,
float zoom)
MotionBlurOp
public MotionBlurOp(float distance,
float angle,
float rotation,
float zoom,
float alignX,
float alignY)
setAngle
public void setAngle(float angle)
getAngle
public float getAngle()
setDistance
public void setDistance(float distance)
getDistance
public float getDistance()
setRotation
public void setRotation(float rotation)
getRotation
public float getRotation()
setZoom
public void setZoom(float zoom)
getZoom
public float getZoom()
setAlignX
public void setAlignX(float alignX)
getAlignX
public float getAlignX()
setAlignY
public void setAlignY(float alignY)
getAlignY
public float getAlignY()
setAlign
public void setAlign(java.awt.geom.Point2D align)
getAlign
public java.awt.geom.Point2D getAlign()
filter
public java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src,
java.awt.image.BufferedImage dst)