Instances of this class represent a width/height pair
OpenLayers.Size | Instances of this class represent a width/height pair |
Properties | |
w | {Number} width |
h | {Number} height |
Constructor | |
OpenLayers.Size | Create an instance of OpenLayers.Size |
Functions | |
clone | Create a clone of this size object |
equals | Determine where this size is equal to another |
clone:function()
Create a clone of this size object
{OpenLayers.Size} A new OpenLayers.Size object with the same w and h values
equals:function( sz )
Determine where this size is equal to another
sz | {OpenLayers.Size} |
{Boolean} The passed in size has the same h and w properties as this one. Note that if sz passed in is null, returns false.
Create a clone of this size object
clone:function()
Determine where this size is equal to another
equals:function( sz )