com.mapitz.gwt.googleMaps.client
Class GSize
java.lang.Object
com.google.gwt.core.client.JavaScriptObject
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)
|
| 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 |
GSize
public GSize(int opaque)
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)