SetBgColor4 sets the background color.
(color *math32.Color4)
| 142 | |
| 143 | // SetBgColor4 sets the background color. |
| 144 | func (l *Label) SetBgColor4(color *math32.Color4) *Label { |
| 145 | |
| 146 | l.style.BgColor = *color |
| 147 | l.Panel.SetColor4(&l.style.BgColor) |
| 148 | l.SetText(l.text) |
| 149 | return l |
| 150 | } |
| 151 | |
| 152 | // BgColor returns returns the background color. |
| 153 | func (l *Label) BgColor() math32.Color4 { |
no test coverage detected