UniPRT SDK v2.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
 __init__ (self, Optional[IPoint] start=None, str data="", Optional[IRuler] ruler=None, RotateEnum rotation=RotateEnum.NONE)
 
str __str__ (self)
 
- Public Member Functions inherited from LabelMaker.Interfaces.IBarcode2D.IBarcode2D
str __str__ (self)
 

Public Attributes

 mask = QRCodeMaskEnum.MASK0
 
 model = QRCodeModelEnum.MODEL2
 
 error_correction = QRCodeErrorCorrectionEnum.CORRECTION15
 
 cell_size = Defaults.cell_size()
 
- Public Attributes inherited from LabelMaker.Interfaces.IBarcode2D.ABarcode2D
 start = start
 
 data = data
 
 ruler = ruler or Defaults.ruler()
 
 rotation = rotation
 

Static Public Attributes

List data_manually_encoded [List[str]]
 

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.

Member Data Documentation

◆ cell_size

LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.cell_size = Defaults.cell_size()

◆ data_manually_encoded

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

◆ error_correction

LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.error_correction = QRCodeErrorCorrectionEnum.CORRECTION15

◆ mask

LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.mask = QRCodeMaskEnum.MASK0

◆ model

LabelMaker.Interfaces.IBcdQRCode.AQRBarcode.model = QRCodeModelEnum.MODEL2

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