* measure the given text size in pixels * @param {string} [text] - the text to be measured * @returns {TextMetrics} a TextMetrics object defining the dimensions of the given piece of text
(text = this._text)
| 430 | * @returns {TextMetrics} a TextMetrics object defining the dimensions of the given piece of text |
| 431 | */ |
| 432 | measureText(text = this._text) { |
| 433 | return this.metrics.measureText(text, this.canvasTexture.context); |
| 434 | } |
| 435 | |
| 436 | /** |
| 437 | * draw a text at the specified coord |
no outgoing calls
no test coverage detected