Class Size

  • All Implemented Interfaces:
    com.google.maps.internal.StringJoin.UrlValue, java.io.Serializable

    public class Size
    extends java.lang.Object
    implements com.google.maps.internal.StringJoin.UrlValue, java.io.Serializable
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int height
      The height of this Size.
      int width
      The width of this Size.
    • Constructor Summary

      Constructors 
      Constructor Description
      Size()
      Serialization constructor.
      Size​(int width, int height)
      Constructs a Size with a height/width pair.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString()  
      java.lang.String toUrlValue()  
      • Methods inherited from class java.lang.Object

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

      • width

        public int width
        The width of this Size.
      • height

        public int height
        The height of this Size.
    • Constructor Detail

      • Size

        public Size​(int width,
                    int height)
        Constructs a Size with a height/width pair.
        Parameters:
        height - The height of this Size.
        width - The width of this Size.
      • Size

        public Size()
        Serialization constructor.
    • Method Detail

      • toString

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

        public java.lang.String toUrlValue()
        Specified by:
        toUrlValue in interface com.google.maps.internal.StringJoin.UrlValue