类 RaysFilter

  • 所有已实现的接口:
    java.awt.image.BufferedImageOp, java.lang.Cloneable

    public class RaysFilter
    extends MotionBlurOp
    A filter which produces the effect of light rays shining out of an image.
    • 构造器详细资料

      • RaysFilter

        public RaysFilter()
    • 方法详细资料

      • setOpacity

        public void setOpacity​(float opacity)
        Set the opacity of the rays.
        参数:
        opacity - the opacity.
        另请参阅:
        getOpacity()
      • getOpacity

        public float getOpacity()
        Get the opacity of the rays.
        返回:
        the opacity.
        另请参阅:
        setOpacity(float)
      • setThreshold

        public void setThreshold​(float threshold)
        Set the threshold value.
        参数:
        threshold - the threshold value
        另请参阅:
        getThreshold()
      • getThreshold

        public float getThreshold()
        Get the threshold value.
        返回:
        the threshold value
        另请参阅:
        setThreshold(float)
      • setStrength

        public void setStrength​(float strength)
        Set the strength of the rays.
        参数:
        strength - the strength.
        另请参阅:
        getStrength()
      • getStrength

        public float getStrength()
        Get the strength of the rays.
        返回:
        the strength.
        另请参阅:
        setStrength(float)
      • setRaysOnly

        public void setRaysOnly​(boolean raysOnly)
        Set whether to render only the rays.
        参数:
        raysOnly - true to render rays only.
        另请参阅:
        getRaysOnly()
      • getRaysOnly

        public boolean getRaysOnly()
        Get whether to render only the rays.
        返回:
        true to render rays only.
        另请参阅:
        setRaysOnly(boolean)
      • setColormap

        public void setColormap​(Colormap colormap)
        Set the colormap to be used for the filter.
        参数:
        colormap - the colormap
        另请参阅:
        getColormap()
      • filter

        public java.awt.image.BufferedImage filter​(java.awt.image.BufferedImage src,
                                                   java.awt.image.BufferedImage dst)
        指定者:
        filter 在接口中 java.awt.image.BufferedImageOp
        覆盖:
        filter 在类中 MotionBlurOp