MCPcopy Create free account
hub / github.com/AllenDang/giu / SetPlotColor

Method SetPlotColor

StyleSetter.go:136–139  ·  view source on GitHub ↗

SetPlotColor sets colorID's color.

(colorID StylePlotColorID, col color.Color)

Source from the content-addressed store, hash-verified

134
135// SetPlotColor sets colorID's color.
136func (ss *StyleSetter) SetPlotColor(colorID StylePlotColorID, col color.Color) *StyleSetter {
137 ss.plotColors[colorID] = col
138 return ss
139}
140
141// GetPlotColor returns colorID's color.
142func (ss *StyleSetter) GetPlotColor(colorID StylePlotColorID) color.Color {

Callers 2

ParseMethod · 0.80
loopFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected