Class SmearFilter

All Implemented Interfaces:
BufferedImageOp, Serializable, Cloneable

public class SmearFilter extends WholeImageFilter implements Serializable
See Also:
  • Field Details

  • Constructor Details

    • SmearFilter

      public SmearFilter()
  • Method Details

    • setShape

      public void setShape(int shape)
    • getShape

      public int getShape()
    • setDistance

      public void setDistance(int distance)
    • getDistance

      public int getDistance()
    • setDensity

      public void setDensity(float density)
    • getDensity

      public float getDensity()
    • setScatter

      public void setScatter(float scatter)
    • getScatter

      public float getScatter()
    • setAngle

      public void setAngle(float angle)
    • getAngle

      public float getAngle()
    • setMix

      public void setMix(float mix)
    • getMix

      public float getMix()
    • setFadeout

      public void setFadeout(int fadeout)
    • getFadeout

      public int getFadeout()
    • setBackground

      public void setBackground(boolean background)
    • getBackground

      public boolean getBackground()
    • randomize

      public void randomize()
    • filterPixels

      protected int[] filterPixels(int width, int height, int[] inPixels, Rectangle transformedSpace)
      Specified by:
      filterPixels in class WholeImageFilter
    • toString

      public String toString()
      Overrides:
      toString in class Object