public class QrParameters
extends java.lang.Object
QR parameters.
Modifier and Type | Method and Description |
---|---|
float |
getAspectRatio()
Height/Width ratio of 2D BarCode module.
|
java.nio.charset.Charset |
getCodeTextEncoding()
Gets the encoding of codetext.
|
int |
getQrECIEncoding()
Extended Channel Interpretation Identifiers.
|
QREncodeMode |
getQrEncodeMode()
QR symbology type of BarCode's encoding mode.
|
QREncodeType |
getQrEncodeType()
QR / MicroQR selector mode.
|
QRErrorLevel |
getQrErrorLevel()
Level of Reed-Solomon error correction for QR barcode.
|
QRVersion |
getQrVersion()
Version of QR Code.
|
void |
setAspectRatio(float value)
Height/Width ratio of 2D BarCode module.
|
void |
setCodeTextEncoding(java.nio.charset.Charset value)
Sets the encoding of codetext.
|
void |
setQrECIEncoding(int value)
Extended Channel Interpretation Identifiers.
|
void |
setQrEncodeMode(QREncodeMode value)
QR symbology type of BarCode's encoding mode.
|
void |
setQrEncodeType(QREncodeType value)
QR / MicroQR selector mode.
|
void |
setQrErrorLevel(QRErrorLevel value)
Level of Reed-Solomon error correction for QR barcode.
|
void |
setQrVersion(QRVersion value)
Version of QR Code.
|
java.lang.String |
toString()
Returns a human-readable string representation of this
QrParameters . |
public int getQrECIEncoding()
Extended Channel Interpretation Identifiers. It is used to tell the barcode reader details about the used references for encoding the data in the symbol. Current implementation consists all well known charset encodings.
public void setQrECIEncoding(int value)
Extended Channel Interpretation Identifiers. It is used to tell the barcode reader details about the used references for encoding the data in the symbol. Current implementation consists all well known charset encodings.
public QREncodeMode getQrEncodeMode()
QR symbology type of BarCode's encoding mode. Default value: QREncodeMode.AUTO.
public void setQrEncodeMode(QREncodeMode value)
QR symbology type of BarCode's encoding mode. Default value: QREncodeMode.AUTO.
public QREncodeType getQrEncodeType()
QR / MicroQR selector mode. Select ForceQR for standard QR symbols, Auto for MicroQR.
public void setQrEncodeType(QREncodeType value)
QR / MicroQR selector mode. Select ForceQR for standard QR symbols, Auto for MicroQR.
public QRErrorLevel getQrErrorLevel()
Level of Reed-Solomon error correction for QR barcode. From low to high: LEVEL_L, LEVEL_M, LEVEL_Q, LEVEL_H. see QRErrorLevel.
public void setQrErrorLevel(QRErrorLevel value)
Level of Reed-Solomon error correction for QR barcode. From low to high: LEVEL_L, LEVEL_M, LEVEL_Q, LEVEL_H. see QRErrorLevel.
public QRVersion getQrVersion()
Version of QR Code. From Version1 to Version40 for QR code and from M1 to M4 for MicroQr. Default value is QRVersion.Auto.
public void setQrVersion(QRVersion value)
Version of QR Code. From Version1 to Version40 for QR code and from M1 to M4 for MicroQr. Default value is QRVersion.Auto.
public float getAspectRatio()
Height/Width ratio of 2D BarCode module.
public void setAspectRatio(float value)
Height/Width ratio of 2D BarCode module.
public java.nio.charset.Charset getCodeTextEncoding()
Gets the encoding of codetext.
public void setCodeTextEncoding(java.nio.charset.Charset value)
Sets the encoding of codetext.
public java.lang.String toString()
Returns a human-readable string representation of this QrParameters
.
toString
in class java.lang.Object
QrParameters
.