MCPcopy
hub / github.com/jabbany/CommentCoreLibrary / setTextFormat

Method setTextFormat

src/scripting/api/Display/TextField.ts:168–171  ·  view source on GitHub ↗
(tf:any)

Source from the content-addressed store, hash-verified

166 }
167
168 public setTextFormat(tf:any) {
169 this._textFormat = <TextFormat> tf;
170 this.methodCall("setTextFormat", tf.serialize());
171 }
172
173 public appendText(t:string):void {
174 this.text = this.text + t;

Callers 6

colorMethod · 0.95
Unpacker.jsFile · 0.45
fontsizeMethod · 0.45
fontMethod · 0.45
alignMethod · 0.45
boldMethod · 0.45

Calls 2

methodCallMethod · 0.80
serializeMethod · 0.65

Tested by

no test coverage detected