code: function (ctx, object) {
        if (!object) return;
  
        if (this.controlsAboveOverlay) {
          var hasBorders = object.hasBorders, hasCorners = object.hasCorners;
          object.hasBorders = object.hasCorners = false;
          object.render(ctx);
          object.hasBorders = hasBorders;
          object.hasCorners = hasCorners;
        }
        else {
          object.render(ctx);
        }
      }
docs: Given a context, renders an object on that context
  @param ctx {Object} context to render object on
  @param object {Object} object to render
  @private