类 QuiltFilter

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

    public class QuiltFilter
    extends WholeImageFilter
    • 构造器详细资料

      • QuiltFilter

        public QuiltFilter()
    • 方法详细资料

      • randomize

        public void randomize()
      • setIterations

        public void setIterations​(int iterations)
        Set the number of iterations the effect is performed.
        参数:
        iterations - the number of iterations min-value 0
        另请参阅:
        getIterations()
      • getIterations

        public int getIterations()
        Get the number of iterations the effect is performed.
        返回:
        the number of iterations
        另请参阅:
        setIterations(int)
      • setA

        public void setA​(float a)
      • getA

        public float getA()
      • setB

        public void setB​(float b)
      • getB

        public float getB()
      • setC

        public void setC​(float c)
      • getC

        public float getC()
      • setD

        public void setD​(float d)
      • getD

        public float getD()
      • setK

        public void setK​(int k)
      • getK

        public int getK()
      • setColormap

        public void setColormap​(Colormap colormap)
        Set the colormap to be used for the filter.
        参数:
        colormap - the colormap
        另请参阅:
        getColormap()
      • 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