MCPcopy Index your code
hub / github.com/gonum/plot / ApplyTo

Method ApplyTo

vg/recorder/recorder.go:191–193  ·  view source on GitHub ↗

ApplyTo applies the action to the given vg.Canvas.

(c vg.Canvas)

Source from the content-addressed store, hash-verified

189
190// ApplyTo applies the action to the given vg.Canvas.
191func (a *SetColor) ApplyTo(c vg.Canvas) {
192 c.SetColor(a.Color)
193}
194
195func (a *SetColor) callerLocation() *callerLocation {
196 return &a.l

Callers

nothing calls this directly

Calls 1

SetColorMethod · 0.65

Tested by

no test coverage detected