docs: function BitmapText(text, style)
  {
      core.Container.call(this);
  
      /**
       * The width of the overall text, different from fontSize,
       * which is defined in the style object
       *
       * @member {number}
       * @readOnly
       */
      this.textWidth = 0;
  
      /**
       * The height of the overall text, different from fontSize,
       * which is defined in the style object
       *
       * @member {number}
       * @readOnly
       */
      this.textHeight = 0;
  
      /**
       * Private tracker for the letter sprite pool.
       *
       * @member {Sprite[]}
       * @private
       */
      this._glyphs = [];
  
      /**
       * Private tracker for the current style.
       *
       * @member {object}
       * @private
       */
      this._font = {
          tint: style.tint !== undefined ? style.tint : 0xFFFFFF,
          align: style.align || 'left',
          name: null,
          size: 0
      };
  
      /**
       * Private tracker for the current font.
       *
       * @member {object}
       * @private
       */
      this.font = style.font; // run font setter
  
      /**
       * Private tracker for the current text.
       *
       * @member {string}
       * @private
       */
      this._text = text;
  
      /**
       * The max width of this bitmap text in pixels. If the text provided is longer than the value provided, line breaks will be automatically inserted in the last whitespace.
       * Disable by setting value to 0
       *
       * @member {number}
       */
      this.maxWidth = 0;
  
      /**
       * The dirty state of this object.
       *
       * @member {boolean}
       */
      this.dirty = false;
  
      this.updateText();
  }