ContactColor sets the color used to render contact blip runes. r, g, b are RGB24 components in the range [0, 255]. Defaults to red (255, 50, 50).
(r, g, b int)
| 232 | // r, g, b are RGB24 components in the range [0, 255]. |
| 233 | // Defaults to red (255, 50, 50). |
| 234 | func ContactColor(r, g, b int) Option { |
| 235 | return option(func(o *options) { |
| 236 | o.contactR = r |
| 237 | o.contactG = g |
| 238 | o.contactB = b |
| 239 | }) |
| 240 | } |
| 241 | |
| 242 | // DefaultContactChar is the default rune used to mark contact positions. |
| 243 | const DefaultContactChar = '◆' |
no test coverage detected