code: function () {
          this.image = null;
          this.border = null;
          if (this.canvasContext)
              this.canvasContext.clearRect(0, 0, this.size.w, this.size.h);
      }
docs: Method: clearImage
  Clear tile