Base class for QR Code 2D barcode.
Data encoded in a QR barcode can be encoded automatically or manually. Unless there is a need to optimize the amount of data stored in the barcode, automatic encoding should be used.
LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.__init__ |
( |
| self, |
|
|
IPoint | start, |
|
|
Optional[str] | data = None, |
|
|
Optional[List[List[str]]] | manually_encoded_data = None ) |
Initializes a QR Code with a starting point and optional data.
This constructor initializes the QR Code with a specified starting point and optional data content. It allows for both automatically and manually encoded data. If no data is provided, an empty string is used. Default settings for mask, model, error correction, and cell size are applied.
- Parameters
-
start | The starting point or position of the QR Code. |
data | The optional data to be encoded in the QR Code. |
manually_encoded_data | Optionally, manually encoded data for the QR Code. |
Reimplemented from LabelMaker.Interfaces.IBarcode2D.ABarcode2D.
Reimplemented in LabelMaker.PGL.QRBarcode.QRBarcode, and LabelMaker.TSPL.QRBarcode.QRBarcode.