Class ImageCropSpecification


  • public class ImageCropSpecification
    extends java.lang.Object
    The instructions for optionally cropping an image. If no cropping is desired, set the dimensions to the original image size. If the image is cropped and no offset values are provided, then the coordinates of the top left corner of the cropped image, relative to the original image, are defaulted to (0,0).
    • Constructor Detail

      • ImageCropSpecification

        public ImageCropSpecification()
    • Method Detail

      • getOffset

        public ImageOffsets getOffset()
        Get offset
        Returns:
        offset
      • setOffset

        public void setOffset​(ImageOffsets offset)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

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