SetColor4 sets the text color.
(color4 *math32.Color4)
| 118 | |
| 119 | // SetColor4 sets the text color. |
| 120 | func (l *Label) SetColor4(color4 *math32.Color4) *Label { |
| 121 | |
| 122 | l.style.FgColor = *color4 |
| 123 | l.SetText(l.text) |
| 124 | return l |
| 125 | } |
| 126 | |
| 127 | // Color returns the text color. |
| 128 | func (l *Label) Color() math32.Color4 { |
no test coverage detected