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

Method SetLineDash

vg/vg.go:36–36  ·  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. The initial dash pattern is a solid line.

(pattern []Length, offset Length)

Source from the content-addressed store, hash-verified

34 //
35 // The initial dash pattern is a solid line.
36 SetLineDash(pattern []Length, offset Length)
37
38 // SetColor sets the current drawing color.
39 // Note that fill color and stroke color are

Callers 3

InitializeFunction · 0.65
SetLineDashMethod · 0.65
ApplyToMethod · 0.65

Implementers 7

teeCanvasvg/tee.go
Canvasvg/vgeps/vgeps.go
Canvasvg/vgtex/canvas.go
Canvasvg/vgimg/vgimg.go
Canvasvg/vgpdf/vgpdf.go
Canvasvg/recorder/recorder.go
Canvasvg/vgsvg/vgsvg.go

Calls

no outgoing calls

Tested by

no test coverage detected