Writer

interface Writer

The base class for all objects which encode/generate a barcode image.

Inheritors

Functions

Link copied to clipboard
abstract fun encode(contents: String, format: BarcodeFormat, width: Int, height: Int): BitMatrix

Encode a barcode using the default settings.

abstract fun encode(contents: String, format: BarcodeFormat, width: Int, height: Int, hints: Map<EncodeHintType, *>?): BitMatrix