Class ImageSize

  • All Implemented Interfaces:
    java.io.Serializable

    @JsonObject("ImageSize")
    public class ImageSize
    extends java.lang.Object
    implements java.io.Serializable
    Width and height of an image.
    Since:
    1.4
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ImageSize​(int width, int height)
      Creates an instance for specified width and height.
    • Constructor Detail

      • ImageSize

        public ImageSize​(int width,
                         int height)
        Creates an instance for specified width and height.
    • Method Detail

      • getWidth

        public final int getWidth()
      • getHeight

        public final int getHeight()
      • toString

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

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object