code: function(rect, useSketch) {
          if (!this.useCanvas) {
              return;
          }
  
          var context = this._getContext( useSketch );
          context.beginPath();
          context.rect(rect.x, rect.y, rect.width, rect.height);
          context.clip();
      }
docs: private