Class FadeFilter

  • All Implemented Interfaces:
    java.awt.image.BufferedImageOp, java.lang.Cloneable

    public class FadeFilter
    extends PointFilter
    • Constructor Detail

      • FadeFilter

        public FadeFilter()
    • Method Detail

      • setAngle

        public void setAngle​(float angle)
        Specifies the angle of the texture.
        Parameters:
        angle - the angle of the texture.
        See Also:
        getAngle()
      • getAngle

        public float getAngle()
        Returns the angle of the texture.
        Returns:
        the angle of the texture.
        See Also:
        setAngle(float)
      • setSides

        public void setSides​(int sides)
      • getSides

        public int getSides()
      • setFadeStart

        public void setFadeStart​(float fadeStart)
      • getFadeStart

        public float getFadeStart()
      • setFadeWidth

        public void setFadeWidth​(float fadeWidth)
      • getFadeWidth

        public float getFadeWidth()
      • setInvert

        public void setInvert​(boolean invert)
      • getInvert

        public boolean getInvert()
      • filterRGB

        public int filterRGB​(int x,
                             int y,
                             int rgb)
        Specified by:
        filterRGB in class PointFilter
      • symmetry

        public float symmetry​(float x,
                              float b)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object