getTextSize(ctx, selected = false, hover = false) {
    this._processLabel(ctx, selected, hover);
    return {
      width: this.size.width,
      height: this.size.height,
      lineCount: this.lineCount,
    };
  }
@param {CanvasRenderingContext2D} ctx
@param {boolean} selected
@param {boolean} hover
@returns {{width: number, height: number}}