Functiondojox.gfx.Surface.getDimensions

returns an object with properties "width" and "height"

Usage

function ()