Documentation ¶
Index ¶
- type Barcode
- type Encoder
- type Logger
- type Option
- func OptionBackgroundColor(color string) Option
- func OptionBarWidth(width int) Option
- func OptionFontColor(color string) Option
- func OptionFontSize(fontSize int) Option
- func OptionLogger(logger Logger) Option
- func OptionPadding(padding int) Option
- func OptionRatio(ratio int) Option
- func OptionalEncoder(encoder Encoder) Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Encoder ¶
Encoder generic encoder interface
func NewReedSolomon ¶
func NewReedSolomon() Encoder
NewReedSolomon create a new instance of Reed Solomon
type Option ¶
type Option func(b *fourStateBarcode)
Option barcode option function
func OptionBackgroundColor ¶
OptionBackgroundColor set barcode background color Option
func OptionBarWidth ¶
OptionBarWidth set barcode bar width Option
func OptionFontColor ¶
OptionFontColor set barcode font color Option
func OptionFontSize ¶
OptionFontSize set barcode font size Option
func OptionPadding ¶
OptionPadding set barcode padding Option
func OptionalEncoder ¶
OptionalEncoder set barcode custom encoder Option
Click to show internal directories.
Click to hide internal directories.