MCPcopy Create free account
hub / github.com/gonum/plot / SetLineDash

Method SetLineDash

vg/tee.go:40–44  ·  view source on GitHub ↗

SetLineDash sets the dash pattern for lines. The pattern slice specifies the lengths of alternating dashes and gaps, and the offset specifies the distance into the dash pattern to start the dash.

(pattern []Length, offset Length)

Source from the content-addressed store, hash-verified

38// specifies the distance into the dash pattern
39// to start the dash.
40func (tee teeCanvas) SetLineDash(pattern []Length, offset Length) {
41 for _, c := range tee.cs {
42 c.SetLineDash(pattern, offset)
43 }
44}
45
46// SetColor sets the current drawing color.
47// Note that fill color and stroke color are

Callers

nothing calls this directly

Calls 1

SetLineDashMethod · 0.65

Tested by

no test coverage detected