Class ShearFilter

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

    public class ShearFilter
    extends TransformFilter
    • Constructor Detail

      • ShearFilter

        public ShearFilter()
    • Method Detail

      • setResize

        public void setResize​(boolean resize)
      • isResize

        public boolean isResize()
      • setXAngle

        public void setXAngle​(float xangle)
      • getXAngle

        public float getXAngle()
      • setYAngle

        public void setYAngle​(float yangle)
      • getYAngle

        public float getYAngle()
      • transformSpace

        protected void transformSpace​(java.awt.Rectangle r)
        Description copied from class: TransformFilter
        Forward transform a rectangle. Used to determine the size of the output image.
        Overrides:
        transformSpace in class TransformFilter
        Parameters:
        r - the rectangle to transform
      • transformInverse

        protected void transformInverse​(int x,
                                        int y,
                                        float[] out)
        Description copied from class: TransformFilter
        Inverse transform a point. This method needs to be overriden by all subclasses.
        Specified by:
        transformInverse in class TransformFilter
        Parameters:
        x - the X position of the pixel in the output image
        y - the Y position of the pixel in the output image
        out - the position of the pixel in the input image
      • toString

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