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

Method font

src/scripting/api/Display/CommentField.ts:32–36  ·  view source on GitHub ↗
(fontname:string)

Source from the content-addressed store, hash-verified

30 }
31
32 set font(fontname:string) {
33 var tf = this.getTextFormat();
34 tf.font = fontname;
35 this.setTextFormat(tf);
36 }
37
38 get font():string {
39 return this.getTextFormat().font;

Callers

nothing calls this directly

Calls 2

getTextFormatMethod · 0.80
setTextFormatMethod · 0.45

Tested by

no test coverage detected