Package com.jhlabs.image
Interface MotionBlur
-
- All Superinterfaces:
java.awt.image.BufferedImageOp
- All Known Implementing Classes:
MotionBlurFilter,MotionBlurOp,RaysFilter
public interface MotionBlur extends java.awt.image.BufferedImageOpA common interface for different types of motion blur
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description floatgetAngle()Returns the angle of blur.java.awt.geom.Point2DgetCentre()Get the centre of the effect as a proportion of the image size.floatgetCentreX()Get the centre of the effect in the X direction as a proportion of the image size.floatgetCentreY()Get the centre of the effect in the Y direction as a proportion of the image size.floatgetDistance()Get the distance of blur.floatgetRotation()Get the blur rotation.floatgetZoom()Get the blur zoom.voidsetAngle(float angle)Specifies the angle of blur.voidsetCentre(java.awt.geom.Point2D centre)Set the centre of the effect as a proportion of the image size.voidsetCentreX(float centreX)Set the centre of the effect in the X direction as a proportion of the image size.voidsetCentreY(float centreY)Set the centre of the effect in the Y direction as a proportion of the image size.voidsetDistance(float distance)Set the distance of blur.voidsetRotation(float rotation)Set the blur rotation.voidsetZoom(float zoom)Set the blur zoom.
-
-
-
Method Detail
-
setAngle
void setAngle(float angle)
Specifies the angle of blur.- Parameters:
angle- the angle of blur.- See Also:
getAngle()
-
getAngle
float getAngle()
Returns the angle of blur.- Returns:
- the angle of blur.
- See Also:
setAngle(float)
-
setDistance
void setDistance(float distance)
Set the distance of blur.- Parameters:
distance- the distance of blur.- See Also:
getDistance()
-
getDistance
float getDistance()
Get the distance of blur.- Returns:
- the distance of blur.
- See Also:
setDistance(float)
-
setRotation
void setRotation(float rotation)
Set the blur rotation.- Parameters:
rotation- the angle of rotation.- See Also:
getRotation()
-
getRotation
float getRotation()
Get the blur rotation.- Returns:
- the angle of rotation.
- See Also:
setRotation(float)
-
setZoom
void setZoom(float zoom)
Set the blur zoom.- Parameters:
zoom- the zoom factor.- See Also:
getZoom()
-
getZoom
float getZoom()
Get the blur zoom.- Returns:
- the zoom factor.
- See Also:
setZoom(float)
-
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()
-
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:
setCentreX(float)
-
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()
-
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:
setCentreY(float)
-
setCentre
void setCentre(java.awt.geom.Point2D centre)
Set the centre of the effect as a proportion of the image size.- Parameters:
centre- the center- See Also:
getCentre()
-
getCentre
java.awt.geom.Point2D getCentre()
Get the centre of the effect as a proportion of the image size.- Returns:
- the center
- See Also:
setCentre(java.awt.geom.Point2D)
-
-