类 PlasmaFilter

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

    public class PlasmaFilter
    extends WholeImageFilter
    • 字段详细资料

      • turbulence

        public float turbulence
    • 构造器详细资料

      • PlasmaFilter

        public PlasmaFilter()
    • 方法详细资料

      • setTurbulence

        public void setTurbulence​(float turbulence)
        Specifies the turbulence of the texture.
        参数:
        turbulence - the turbulence of the texture. min-value 0 max-value 10
        另请参阅:
        getTurbulence()
      • getTurbulence

        public float getTurbulence()
        Returns the turbulence of the effect.
        返回:
        the turbulence of the effect.
        另请参阅:
        setTurbulence(float)
      • setScaling

        public void setScaling​(float scaling)
      • getScaling

        public float getScaling()
      • setColormap

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

        public void setUseColormap​(boolean useColormap)
      • getUseColormap

        public boolean getUseColormap()
      • setUseImageColors

        public void setUseImageColors​(boolean useImageColors)
      • getUseImageColors

        public boolean getUseImageColors()
      • setSeed

        public void setSeed​(int seed)
      • getSeed

        public int getSeed()
      • randomize

        public void randomize()
      • filterPixels

        protected int[] filterPixels​(int width,
                                     int height,
                                     int[] inPixels,
                                     java.awt.Rectangle transformedSpace)
        从类复制的说明: WholeImageFilter
        Actually filter the pixels.
        指定者:
        filterPixels 在类中 WholeImageFilter
        参数:
        width - the image width
        height - the image height
        inPixels - the image pixels
        transformedSpace - the output bounds
        返回:
        the output pixels
      • toString

        public java.lang.String toString()
        覆盖:
        toString 在类中 java.lang.Object