com.alee.graphics.filters
Class MotionBlurOp

java.lang.Object
  extended by com.alee.graphics.filters.AbstractBufferedImageOp
      extended by 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)
           
 
Method Summary
 java.awt.image.BufferedImage filter(java.awt.image.BufferedImage src, java.awt.image.BufferedImage dst)
           
 java.awt.geom.Point2D getAlign()
           
 float getAlignX()
           
 float getAlignY()
           
 float getAngle()
           
 float getDistance()
           
 float getRotation()
           
 float getZoom()
           
 void setAlign(java.awt.geom.Point2D align)
           
 void setAlignX(float alignX)
           
 void setAlignY(float alignY)
           
 void setAngle(float angle)
           
 void setDistance(float distance)
           
 void setRotation(float rotation)
           
 void setZoom(float zoom)
           
 
Methods inherited from class com.alee.graphics.filters.AbstractBufferedImageOp
createCompatibleDestImage, getBounds2D, getPoint2D, getRenderingHints, getRGB, setRGB
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

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)
Method Detail

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)