* measure the given text size in pixels * @param {string} [text] * @returns {TextMetrics} a TextMetrics object with two properties: `width` and `height`, defining the output dimensions
(text = this._text)
| 340 | * @returns {TextMetrics} a TextMetrics object with two properties: `width` and `height`, defining the output dimensions |
| 341 | */ |
| 342 | measureText(text = this._text) { |
| 343 | return this.metrics.measureText(text); |
| 344 | } |
| 345 | |
| 346 | /** |
| 347 | * draw the bitmap font |
no outgoing calls
no test coverage detected