UniPRT SDK v1.0.0.0
 
Loading...
Searching...
No Matches
LabelMaker.Interfaces.IBcdQRCode.AQRBarcode Class Reference

Base class for QR Code 2D barcode. More...

Inheritance diagram for LabelMaker.Interfaces.IBcdQRCode.AQRBarcode:
LabelMaker.Interfaces.IBarcode2D.ABarcode2D LabelMaker.Interfaces.IBarcode2D.ISquareCell LabelMaker.Interfaces.IBarcode2D.IBarcode2D LabelMaker.Interfaces.IBarcode2D.IBarcodeItem2D LabelMaker.Interfaces.IBarcode2D.IPositionRuler LabelMaker.Interfaces.ISettings.IRotation LabelMaker.PGL.QRBarcode.QRBarcode LabelMaker.TSPL.QRBarcode.QRBarcode

Public Member Functions

 __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.
 
- Public Member Functions inherited from LabelMaker.Interfaces.IBarcode2D.ABarcode2D
str __str__ (self)
 

Public Attributes

 data_manually_encoded
 
 mask
 
 model
 
 error_correction
 
 cell_size
 
- Public Attributes inherited from LabelMaker.Interfaces.IBarcode2D.ABarcode2D
 start
 
 data
 
 ruler
 
 rotation
 

Static Public Attributes

IPoint start
 
str data
 
List data_manually_encoded [List[str]]
 
QRCodeMaskEnum mask
 
QRCodeModelEnum model
 
QRCodeErrorCorrectionEnum error_correction
 
ICellSquare cell_size
 
- Static Public Attributes inherited from LabelMaker.Interfaces.IBarcode2D.IBarcodeItem2D
IPoint start
 
str data
 
- Static Public Attributes inherited from LabelMaker.Interfaces.IBarcode2D.IPositionRuler
IRuler ruler
 
- Static Public Attributes inherited from LabelMaker.Interfaces.ISettings.IRotation
RotateEnum rotation
 
- Static Public Attributes inherited from LabelMaker.Interfaces.IBarcode2D.ISquareCell
ICellSquare cell_size
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

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
startThe starting point or position of the QR Code.
dataThe optional data to be encoded in the QR Code.
manually_encoded_dataOptionally, manually encoded data for the QR Code.

Reimplemented from LabelMaker.Interfaces.IBarcode2D.ABarcode2D.

Reimplemented in LabelMaker.PGL.QRBarcode.QRBarcode, and LabelMaker.TSPL.QRBarcode.QRBarcode.

Member Data Documentation

◆ cell_size [1/2]

ICellSquare LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.cell_size
static

◆ cell_size [2/2]

LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.cell_size

◆ data

str LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.data
static

◆ data_manually_encoded [1/2]

List LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.data_manually_encoded [List[str]]
static

◆ data_manually_encoded [2/2]

LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.data_manually_encoded

◆ error_correction [1/2]

QRCodeErrorCorrectionEnum LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.error_correction
static

◆ error_correction [2/2]

LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.error_correction

◆ mask [1/2]

QRCodeMaskEnum LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.mask
static

◆ mask [2/2]

LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.mask

◆ model [1/2]

QRCodeModelEnum LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.model
static

◆ model [2/2]

LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.model

◆ start

IPoint LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.start
static

The documentation for this class was generated from the following file: