QREncodeParams Class Documentation

class QREncodeParams

Namespace:com::datalogics::PDFL

Detailed Description

Used to control how the QR code is created.

Referenced by

Uses types

Constructor & Destructor Documentation

QREncodeParams

QREncodeParams(String text, double x, double y, double width, double height, QRErrorCorrectionLevel errorLevel, long quietZoneSize, QRColor codeColor, QRColor backgroundColor)

Parameters

text: String
x: double
y: double
width: double
height: double
errorLevel: QRErrorCorrectionLevel
quietZoneSize: long
codeColor: QRColor
backgroundColor: QRColor

Create a new QREncodeParams object using the specified values.

Member Function Documentation

delete

synchronized void delete(Boolean disposing)

Parameters

disposing: Boolean

Returns:

synchronized void

delete

synchronized void delete()

Returns:

synchronized void

finalize

void finalize()

Returns:

void

getBackgroundColor

QRColor getBackgroundColor()

Returns:

QRColor

Get the Color of the Background.

getCodeColor

QRColor getCodeColor()

Returns:

QRColor

Get the Color of the Code.

getErrorCorrectionLevel

QRErrorCorrectionLevel getErrorCorrectionLevel()

Returns:

QRErrorCorrectionLevel

Get the Error Correction Level of the code.

getHeight

double getHeight()

Returns:

double

Get the Height of the code.

getQuietZoneSize

long getQuietZoneSize()

Returns:

long

Get the Quiet Zone Size of the code.

getTextToEncode

String getTextToEncode()

Returns:

String

Get the Text to be encoded.

getWidth

double getWidth()

Returns:

double

Get the Width of the code.

getX

double getX()

Returns:

double

Get the X location of the code.

getY

double getY()

Returns:

double

Get the Y location of the code.

setBackgroundColor

void setBackgroundColor(QRColor backgroundColor)

Parameters

backgroundColor: QRColor

Returns:

void

Set the Color of the Background.

setCodeColor

void setCodeColor(QRColor codeColor)

Parameters

codeColor: QRColor

Returns:

void

Set the Color of the Code.

setErrorCorrectionLevel

void setErrorCorrectionLevel(QRErrorCorrectionLevel errorLevel)

Parameters

errorLevel: QRErrorCorrectionLevel

Returns:

void

Set the Error Correction Level of the code.

setHeight

void setHeight(double height)

Parameters

height: double

Returns:

void

Set the Height of the code.

setQuietZoneSize

void setQuietZoneSize(long quiteSize)

Parameters

quiteSize: long

Returns:

void

Set the Quiet Zone Size of the code.

setTextToEncode

void setTextToEncode(String textToEncode)

Parameters

textToEncode: String

Returns:

void

Set the Text to be encoded.

setWidth

void setWidth(double width)

Parameters

width: double

Returns:

void

Set the Width of the code.

setX

void setX(double x)

Parameters

x: double

Returns:

void

Set the X location of the code.

setY

void setY(double y)

Parameters

y: double

Returns:

void

Set the Y location of the code.