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

Function newDataMatrixCodeWithColor

datamatrix/datamatrixcode.go:18–20  ·  view source on GitHub ↗
(size *dmCodeSize, color barcode.ColorScheme)

Source from the content-addressed store, hash-verified

16}
17
18func newDataMatrixCodeWithColor(size *dmCodeSize, color barcode.ColorScheme) *datamatrixCode {
19 return &datamatrixCode{utils.NewBitList(size.Rows * size.Columns), size, "", color}
20}
21
22func newDataMatrixCode(size *dmCodeSize) *datamatrixCode {
23 return &datamatrixCode{utils.NewBitList(size.Rows * size.Columns), size, "", barcode.ColorScheme16}

Callers 1

MergeMethod · 0.85

Calls 1

NewBitListFunction · 0.92

Tested by

no test coverage detected