MCPcopy Index your code
hub / github.com/andlabs/ui / UnderlineColorCustom

Struct UnderlineColorCustom

drawtext.go:195–200  ·  view source on GitHub ↗

UnderlineColorCustom is an Attribute like UnderlineColor, except it allows specifying a custom color.

Source from the content-addressed store, hash-verified

193// UnderlineColorCustom is an Attribute like UnderlineColor, except
194// it allows specifying a custom color.
195type UnderlineColorCustom struct {
196 R float64
197 G float64
198 B float64
199 A float64
200}
201
202func (u UnderlineColorCustom) toLibui() *C.uiAttribute {
203 return C.uiNewUnderlineColorAttribute(C.uiUnderlineColorCustom, C.double(u.R), C.double(u.G), C.double(u.B), C.double(u.A))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected