MCPcopy Create free account
hub / github.com/esengine/esengine / titleColor

Method titleColor

packages/fairygui/src/widgets/GButton.ts:133–139  ·  view source on GitHub ↗

* Get/set title color * 获取/设置标题颜色

()

Source from the content-addressed store, hash-verified

131 * 获取/设置标题颜色
132 */
133 public get titleColor(): string {
134 const tf = this.getTextField();
135 if (tf) {
136 return tf.color;
137 }
138 return '#000000';
139 }
140
141 public set titleColor(value: string) {
142 const tf = this.getTextField();

Callers

nothing calls this directly

Calls 2

getTextFieldMethod · 0.95
updateGearMethod · 0.80

Tested by

no test coverage detected