code: function (elm) {
          var self = this, pos, size;
  
          elm = self.get(elm);
          pos = self.getPos(elm);
          size = self.getSize(elm);
  
          return {
            x: pos.x, y: pos.y,
            w: size.w, h: size.h
          };
        }
docs: Returns the rectangle for a specific element.
  
  @method getRect
  @param {Element/String} elm Element object or element ID to get rectangle from.
  @return {object} Rectangle for specified element object with x, y, w, h fields.