Class ImageCropSpecification


  • public class ImageCropSpecification
    extends java.lang.Object
    The instructions for optionally cropping an image. If you don't want to crop the image, set the dimensions to the original image size. If the image is cropped and you don't include offset values, the coordinates of the top left corner of the cropped image are set to (0,0) by default.
    • 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