类 MotionBlurOp

    • 构造器详细资料

      • MotionBlurOp

        public MotionBlurOp()
        Construct a MotionBlurOp.
      • MotionBlurOp

        public MotionBlurOp​(float distance,
                            float angle,
                            float rotation,
                            float zoom)
        Construct a MotionBlurOp.
        参数:
        distance - the distance of blur.
        angle - the angle of blur.
        rotation - the angle of rotation.
        zoom - the zoom factor.
    • 方法详细资料

      • setAngle

        public void setAngle​(float angle)
        Specifies the angle of blur.
        参数:
        angle - the angle of blur.
        另请参阅:
        getAngle()
      • getAngle

        public float getAngle()
        Returns the angle of blur.
        返回:
        the angle of blur.
        另请参阅:
        setAngle(float)
      • setDistance

        public void setDistance​(float distance)
        Set the distance of blur.
        参数:
        distance - the distance of blur.
        另请参阅:
        getDistance()
      • getDistance

        public float getDistance()
        Get the distance of blur.
        返回:
        the distance of blur.
        另请参阅:
        setDistance(float)
      • setRotation

        public void setRotation​(float rotation)
        Set the blur rotation.
        参数:
        rotation - the angle of rotation.
        另请参阅:
        getRotation()
      • getRotation

        public float getRotation()
        Get the blur rotation.
        返回:
        the angle of rotation.
        另请参阅:
        setRotation(float)
      • setZoom

        public void setZoom​(float zoom)
        Set the blur zoom.
        参数:
        zoom - the zoom factor.
        另请参阅:
        getZoom()
      • getZoom

        public float getZoom()
        Get the blur zoom.
        返回:
        the zoom factor.
        另请参阅:
        setZoom(float)
      • setCentreX

        public void setCentreX​(float centreX)
        Set the centre of the effect in the X direction as a proportion of the image size.
        参数:
        centreX - the center
        另请参阅:
        getCentreX()
      • getCentreX

        public float getCentreX()
        Get the centre of the effect in the X direction as a proportion of the image size.
        返回:
        the center
        另请参阅:
        setCentreX(float)
      • setCentreY

        public void setCentreY​(float centreY)
        Set the centre of the effect in the Y direction as a proportion of the image size.
        参数:
        centreY - the center
        另请参阅:
        getCentreY()
      • getCentreY

        public float getCentreY()
        Get the centre of the effect in the Y direction as a proportion of the image size.
        返回:
        the center
        另请参阅:
        setCentreY(float)
      • setCentre

        public void setCentre​(Point2D centre)
        Set the centre of the effect as a proportion of the image size.
        参数:
        centre - the center
        另请参阅:
        getCentre()