| Constructor and Description |
|---|
DataMatrixWriter()
|
| Modifier and Type | Method and Description |
|---|---|
BitMatrix |
encode(String
Encode a barcode using the default settings.
|
BitMatrix |
encode(String
|
public BitMatrixencode(String contents, BarcodeFormat format, int width, int height)
Writer
public BitMatrixencode(String contents, BarcodeFormat format, int width, int height, Map <EncodeHintType ,?> hints)
encode in interface
Writer
contents - The contents to encode in the barcode
format - The barcode format to generate
width - The preferred width in pixels
height - The preferred height in pixels
hints - Additional parameters to supply to the encoder
BitMatrix representing encoded barcode image