Class MirrorFilter

All Implemented Interfaces:
BufferedImageOp, Cloneable

public class MirrorFilter extends AbstractBufferedImageOp
  • Constructor Details

    • MirrorFilter

      public MirrorFilter()
  • Method Details

    • setAngle

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

      public float getAngle()
      Returns the angle of the mirror.
      Returns:
      the angle of the mirror.
      See Also:
    • setDistance

      public void setDistance(float distance)
    • getDistance

      public float getDistance()
    • setRotation

      public void setRotation(float rotation)
    • getRotation

      public float getRotation()
    • setGap

      public void setGap(float gap)
    • getGap

      public float getGap()
    • setOpacity

      public void setOpacity(float opacity)
      Set the opacity of the reflection.
      Parameters:
      opacity - the opacity.
      See Also:
    • getOpacity

      public float getOpacity()
      Get the opacity of the reflection.
      Returns:
      the opacity.
      See Also:
    • setCentreY

      public void setCentreY(float centreY)
    • getCentreY

      public float getCentreY()
    • filter

      public BufferedImage filter(BufferedImage src, BufferedImage dst)
    • toString

      public String toString()
      Overrides:
      toString in class Object