uses this.canvasContext variable
ie9 compatibility