docs: function Text(text, style, resolution)
  {
      /**
       * The canvas element that everything is drawn to
       *
       * @member {HTMLCanvasElement}
       */
      this.canvas = document.createElement('canvas');
  
      /**
       * The canvas 2d context that everything is drawn with
       * @member {HTMLCanvasElement}
       */
      this.context = this.canvas.getContext('2d');
  
      /**
       * The resolution of the canvas.
       * @member {number}
       */
      this.resolution = resolution || CONST.RESOLUTION;
  
      /**
       * Private tracker for the current text.
       *
       * @member {string}
       * @private
       */
      this._text = null;
  
      /**
       * Private tracker for the current style.
       *
       * @member {object}
       * @private
       */
      this._style = null;
  
      var texture = Texture.fromCanvas(this.canvas);
      texture.trim = new math.Rectangle();
      Sprite.call(this, texture);
  
  
      this.text = text;
      this.style = style;
  }