From 49d4ce8a5b9497985a4d93cb8b31484902ad49ed Mon Sep 17 00:00:00 2001 From: zhaori96 Date: Fri, 2 Aug 2024 12:31:58 -0300 Subject: [PATCH] Add BarcodeColor interface --- barcode.go | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/barcode.go b/barcode.go index 25f4a69..9d23881 100644 --- a/barcode.go +++ b/barcode.go @@ -1,6 +1,8 @@ package barcode -import "image" +import ( + "image" +) const ( TypeAztec = "Aztec" @@ -40,3 +42,7 @@ type BarcodeIntCS interface { Barcode CheckSum() int } + +type BarcodeColor interface { + ColorScheme() ColorScheme +}