MCPcopy Create free account
hub / github.com/boombuler/barcode / New1DCodeWithColor

Function New1DCodeWithColor

utils/base1dcode.go:70–72  ·  view source on GitHub ↗

New1DCode creates a new 1D barcode where the bars are represented by the bits in the bars BitList

(codeKind, content string, bars *BitList, color barcode.ColorScheme)

Source from the content-addressed store, hash-verified

68
69// New1DCode creates a new 1D barcode where the bars are represented by the bits in the bars BitList
70func New1DCodeWithColor(codeKind, content string, bars *BitList, color barcode.ColorScheme) barcode.Barcode {
71 return &base1DCode{bars, codeKind, content, color}
72}

Callers 4

EncodeWithColorFunction · 0.92
EncodeWithColorFunction · 0.92
EncodeWithColorFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected