MCPcopy
hub / github.com/fogleman/primitive / Clear

Method Clear

primitive/heatmap.go:19–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17}
18
19func (h *Heatmap) Clear() {
20 for i := range h.Count {
21 h.Count[i] = 0
22 }
23}
24
25func (h *Heatmap) Add(lines []Scanline) {
26 for _, line := range lines {

Callers 4

newContextMethod · 0.80
fillPathFunction · 0.80
strokePathFunction · 0.80
InitMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected