com.mapitz.gwt.googleMaps.client
Class GSize

java.lang.Object
  extended by com.google.gwt.core.client.JavaScriptObject
      extended by com.mapitz.gwt.googleMaps.client.GSize

public class GSize
extends com.google.gwt.core.client.JavaScriptObject

A GSize is the size in pixels of a rectangular area of the map. The size object has two parameters, width and height. Width is a difference in the x-coordinate; height is a difference in the y-coordinate, of points.
Notice that while the two parameters of a GSize are accessible as properties width and height, it is better to never modify them, but to create a new object with different paramaters instead.

Author:
aglaforge

Constructor Summary
GSize(int opaque)
           
 
Method Summary
static GSize create(int width, int height)
           
 boolean equals(GSize other)
           
 int getHeight()
           
 int getWidth()
           
 void setHeight(int val)
           
 void setWidth(int val)
           
 
Methods inherited from class com.google.gwt.core.client.JavaScriptObject
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GSize

public GSize(int opaque)
Method Detail

create

public static GSize create(int width,
                           int height)

getHeight

public int getHeight()

setHeight

public void setHeight(int val)

getWidth

public int getWidth()

setWidth

public void setWidth(int val)

equals

public boolean equals(GSize other)