docs: function Text(text, style)
  {
      this.canvas = platform.createCanvas();
      this.context = this.canvas.getContext('2d');
      Sprite.call(this, Texture.fromCanvas(this.canvas));
  
      this.setText(text);
      this.setStyle(style);
  
      this.updateText();
      this.dirty = false;
  }