resize(width, height, origin, scaleFactor) {
      this._width = width;
      this._height = height;
      this._origin = origin || [0, 0];
      this._scale = scaleFactor || 1;
      return this;
    }
Resize the display.
@param {number} width - The new coordinate width of the display, in pixels.
@param {number} height - The new coordinate height of the display, in pixels.
@param {Array<number>} origin - The new origin of the display, in pixels.
  The coordinate system will be translated to this point.
@param {number} [scaleFactor=1] - Optional scaleFactor by which to multiply
  the width and height to determine the final pixel size.
@return {Renderer} - This renderer instance;