function PixelRenderer(element, rectangle) {
      var _this;
      _this = _BaseRenderer.call(this, element) || this;
      _this.context = _this.element.getContext("2d");
      _this.imageData = null;
      _this.rectangle = rectangle;
      _this.createImageData(rectangle);
      _this.name = "PixelRenderer";
      return _this;
    }
Creates a new PixelRenderer instance.
@param {HTMLCanvasElement} element - The canvas element to render to.
@param {Rectangle} [rectangle] - The rectangle defining the rendering area.