Class CropOp


  • public class CropOp
    extends Operation
    Author:
    Fabrizio Giudici
    • Constructor Summary

      Constructors 
      Constructor Description
      CropOp​(int x, int y, int w, int h)
      Crops this image, without allocating new memory for the data.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getH()  
      int getW()  
      int getX()  
      int getY()  
      java.lang.String toString()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • CropOp

        public CropOp​(int x,
                      int y,
                      int w,
                      int h)
        Crops this image, without allocating new memory for the data.
        Parameters:
        x - the x-coordinate of the crop
        y - the y-coordinate of the crop
        w - the width of the crop
        h - the height of the crop
    • Method Detail

      • getX

        public int getX()
      • getY

        public int getY()
      • getW

        public int getW()
      • getH

        public int getH()
      • toString

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