QREncodeParams Class Documentation
class QREncodeParamsNamespace:com::datalogics::PDFL
Detailed Description
Used to control how the QR code is created.
Referenced by
Uses types
Constructor & Destructor Documentation
QREncodeParams
Parameters
text: StringThe text string to encode in the QR code.
x: doubleThe X coordinate of the lower-left corner of the QR code on the page, in user space units.
y: doubleThe Y coordinate of the lower-left corner of the QR code on the page, in user space units.
width: doubleThe width of the QR code, in user space units.
height: doubleThe height of the QR code, in user space units.
errorLevel: QRErrorCorrectionLevelThe error correction level for the QR code.
quietZoneSize: longThe size of the quiet zone (margin) around the QR code, in modules.
codeColor: QRColorThe color of the QR code modules (the dark elements).
backgroundColor: QRColorThe color of the background behind the QR code modules.
Create a new QREncodeParams object using the specified values.
Member Function Documentation
delete
synchronized void delete(Boolean disposing)Parameters
disposing: Boolean
Returns:
synchronized voiddelete
synchronized void delete()Returns:
synchronized voidfinalize
void finalize()Returns:
voidgetBackgroundColor
QRColor getBackgroundColor()Returns:
QRColorGet the color of the background behind the QR code modules.
getCodeColor
QRColor getCodeColor()Returns:
QRColorGet the color of the QR code modules (the dark elements).
getErrorCorrectionLevel
QRErrorCorrectionLevel getErrorCorrectionLevel()Returns:
QRErrorCorrectionLevelGet the error correction level of the QR code.
getHeight
double getHeight()Returns:
doubleGet the height of the QR code, in user space units.
getQuietZoneSize
long getQuietZoneSize()Returns:
longGet the quiet zone size (margin around the QR code), in modules.
getTextToEncode
String getTextToEncode()Returns:
StringGet the text string to be encoded in the QR code.
getWidth
double getWidth()Returns:
doubleGet the width of the QR code, in user space units.
getX
double getX()Returns:
doubleGet the X coordinate of the lower-left corner of the QR code on the page, in user space units.
getY
double getY()Returns:
doubleGet the Y coordinate of the lower-left corner of the QR code on the page, in user space units.
setBackgroundColor
void setBackgroundColor(QRColor backgroundColor)Parameters
backgroundColor: QRColor
Returns:
voidSet the color of the background behind the QR code modules.
setCodeColor
void setCodeColor(QRColor codeColor)Parameters
codeColor: QRColor
Returns:
voidSet the color of the QR code modules (the dark elements).
setErrorCorrectionLevel
void setErrorCorrectionLevel(QRErrorCorrectionLevel errorLevel)Parameters
errorLevel: QRErrorCorrectionLevel
Returns:
voidSet the error correction level of the QR code.
setHeight
void setHeight(double height)Parameters
height: double
Returns:
voidSet the height of the QR code, in user space units.
setQuietZoneSize
void setQuietZoneSize(long quiteSize)Parameters
quiteSize: long
Returns:
voidSet the quiet zone size (margin around the QR code), in modules.
setTextToEncode
void setTextToEncode(String textToEncode)Parameters
textToEncode: String
Returns:
voidSet the text string to be encoded in the QR code.
setWidth
void setWidth(double width)Parameters
width: double
Returns:
voidSet the width of the QR code, in user space units.
setX
void setX(double x)Parameters
x: double
Returns:
voidSet the X coordinate of the lower-left corner of the QR code on the page, in user space units.
setY
void setY(double y)Parameters
y: double
Returns:
voidSet the Y coordinate of the lower-left corner of the QR code on the page, in user space units.