* Set the name of the resource to use for the font. * @param fontResourceName The name of the font resource.
(fontResourceName: string)
| 502 | * @param fontResourceName The name of the font resource. |
| 503 | */ |
| 504 | setFontName(fontResourceName: string): void { |
| 505 | this._fontName = fontResourceName; |
| 506 | this._renderer.updateStyle(); |
| 507 | } |
| 508 | |
| 509 | /** |
| 510 | * Return true if the text is bold. |
no test coverage detected