Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/g3n/engine
/ SetFont
Method
SetFont
gui/label.go:159–163 ·
view source on GitHub ↗
SetFont sets the font.
(f *text.Font)
Source
from the content-addressed store, hash-verified
157
158
// SetFont sets the font.
159
func
(l *Label) SetFont(f *text.Font) {
160
161
l.font = f
162
l.SetText(l.text)
163
}
164
165
// Font returns the font.
166
func
(l *Label) Font() *text.Font {
Callers
nothing calls this directly
Calls
1
SetText
Method · 0.95
Tested by
no test coverage detected