MCPcopy
hub / github.com/4ian/GDevelop / setBold

Method setBold

Extensions/TextObject/textruntimeobject.ts:520–523  ·  view source on GitHub ↗

* Set bold for the object text. * @param enable {boolean} true to have a bold text, false otherwise.

(enable: boolean)

Source from the content-addressed store, hash-verified

518 * @param enable {boolean} true to have a bold text, false otherwise.
519 */
520 setBold(enable: boolean): void {
521 this._bold = enable;
522 this._renderer.updateStyle();
523 }
524
525 /**
526 * Return true if the text is italic.

Callers 4

updateFromObjectDataMethod · 0.95
GDJS.jsFile · 0.80
TextEditor.jsFile · 0.80

Calls 1

updateStyleMethod · 0.80

Tested by

no test coverage detected