metacat/lib/spatial/openlayers/doc/Size.txt @ 5466
1 |
OpenLayers.Size |
---|---|
2 |
|
3 |
This class represents a width/height pair. |
4 |
|
5 |
* Constructor |
6 |
OpenLayers.Size({float|h}, {float|w}) -- Create Size. |
7 |
|
8 |
* Methods |
9 |
toString() -- {String} -- Converts to human readable string. |
10 |
clone() -- {OpenLayers.Size} -- Returns a copy of the pixel. |
11 |
add({int|x}, {int|y}) -- {OpenLayers.Size} -- add x and y to the current coordinates. |