MCPcopy
hub / github.com/signintech/gopdf / SetLineType

Method SetLineType

gopdf.go:198–200  ·  view source on GitHub ↗

SetLineType : set line type ("dashed" ,"dotted") Usage: pdf.SetLineType("dashed") pdf.Line(50, 200, 550, 200) pdf.SetLineType("dotted") pdf.Line(50, 400, 550, 400)

(linetype string)

Source from the content-addressed store, hash-verified

196// pdf.SetLineType("dotted")
197// pdf.Line(50, 400, 550, 400)
198func (gp *GoPdf) SetLineType(linetype string) {
199 gp.getContent().AppendStreamSetLineType(linetype)
200}
201
202// SetCustomLineType : set custom line type
203//

Callers

nothing calls this directly

Calls 2

getContentMethod · 0.95

Tested by

no test coverage detected