Function
newDataMatrixCodeWithColor
(size *dmCodeSize, color barcode.ColorScheme)
Source from the content-addressed store, hash-verified
| 16 | } |
| 17 | |
| 18 | func newDataMatrixCodeWithColor(size *dmCodeSize, color barcode.ColorScheme) *datamatrixCode { |
| 19 | return &datamatrixCode{utils.NewBitList(size.Rows * size.Columns), size, "", color} |
| 20 | } |
| 21 | |
| 22 | func newDataMatrixCode(size *dmCodeSize) *datamatrixCode { |
| 23 | return &datamatrixCode{utils.NewBitList(size.Rows * size.Columns), size, "", barcode.ColorScheme16} |
Tested by
no test coverage detected