Interface MotionBlur

All Superinterfaces:
BufferedImageOp
All Known Implementing Classes:
MotionBlurFilter, MotionBlurOp, RaysFilter

public interface MotionBlur extends BufferedImageOp
A common interface for different types of motion blur
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    Returns the angle of blur.
    Get the centre of the effect as a proportion of the image size.
    float
    Get the centre of the effect in the X direction as a proportion of the image size.
    float
    Get the centre of the effect in the Y direction as a proportion of the image size.
    float
    Get the distance of blur.
    float
    Get the blur rotation.
    float
    Get the blur zoom.
    void
    setAngle(float angle)
    Specifies the angle of blur.
    void
    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.

    Methods inherited from interface java.awt.image.BufferedImageOp

    createCompatibleDestImage, filter, getBounds2D, getPoint2D, getRenderingHints
  • Method Details

    • setAngle

      void setAngle(float angle)
      Specifies the angle of blur.
      Parameters:
      angle - the angle of blur.
      See Also:
    • getAngle

      float getAngle()
      Returns the angle of blur.
      Returns:
      the angle of blur.
      See Also:
    • setDistance

      void setDistance(float distance)
      Set the distance of blur.
      Parameters:
      distance - the distance of blur.
      See Also:
    • getDistance

      float getDistance()
      Get the distance of blur.
      Returns:
      the distance of blur.
      See Also:
    • setRotation

      void setRotation(float rotation)
      Set the blur rotation.
      Parameters:
      rotation - the angle of rotation.
      See Also:
    • getRotation

      float getRotation()
      Get the blur rotation.
      Returns:
      the angle of rotation.
      See Also:
    • setZoom

      void setZoom(float zoom)
      Set the blur zoom.
      Parameters:
      zoom - the zoom factor.
      See Also:
    • getZoom

      float getZoom()
      Get the blur zoom.
      Returns:
      the zoom factor.
      See Also:
    • setCentreX

      void setCentreX(float centreX)
      Set the centre of the effect in the X direction as a proportion of the image size.
      Parameters:
      centreX - the center
      See Also:
    • getCentreX

      float getCentreX()
      Get the centre of the effect in the X direction as a proportion of the image size.
      Returns:
      the center
      See Also:
    • setCentreY

      void setCentreY(float centreY)
      Set the centre of the effect in the Y direction as a proportion of the image size.
      Parameters:
      centreY - the center
      See Also:
    • getCentreY

      float getCentreY()
      Get the centre of the effect in the Y direction as a proportion of the image size.
      Returns:
      the center
      See Also:
    • setCentre

      void setCentre(Point2D centre)
      Set the centre of the effect as a proportion of the image size.
      Parameters:
      centre - the center
      See Also:
    • getCentre

      Point2D getCentre()
      Get the centre of the effect as a proportion of the image size.
      Returns:
      the center
      See Also: