code: function(x, y, w, h) {
          var rect,
              mbr = this._mbr || this;
          if (typeof x === "object") {
              rect = x;
          } else {
              rect = {
                  _x: x,
                  _y: y,
                  _w: w,
                  _h: h
              };
          }
  
          return (
              rect._x >= mbr._x &&
              rect._x + rect._w <= mbr._x + mbr._w &&
              rect._y >= mbr._y &&
              rect._y + rect._h <= mbr._y + mbr._h
          );
      }
docs: @
  #.contains
  @comp 2D
  @kind Method
  
  @sign public Boolean .contains(Number x, Number y, Number w, Number h)
  @param x - X position of the rect
  @param y - Y position of the rect
  @param w - Width of the rect
  @param h - Height of the rect
  @sign public Boolean .contains(Object rect)
  @param rect - An object that must have the `_x, _y, _w, _h` values as properties.
  
  Determines if the rectangle is within the current entity.  If the entity is rotated, its MBR is used for the test.