code: function(x, y, width, height, styles, ctx){
  
              var hw = width * 0.5
                  ,hh = height * 0.5
                  ;
  
              ctx = ctx || this.ctx;
              this.setStyle( styles, ctx );
              ctx.beginPath();
              ctx.rect(x - hw, y - hh, width, height);
              ctx.closePath();
              ctx.stroke();
              ctx.fill();
          }
docs: CanvasRenderer#drawRect( x, y, width, height, styles[, ctx] )
  - x (Number): The x coord
  - y (Number): The y coord
  - width (Number): The width
  - height (Number): The height
  - styles (Object): The styles configuration
  - ctx (Canvas2DContext): The canvas context
  
  Draw a rectangle to specified canvas context.