createQRCode

open fun <T> createQRCode(data: T, path: String, squareDimension: Int): File

Method to create a squared QRCode file

Return

the qrcode created as File

Parameters

data

: data to create the QRCode

path

: path where create the file, included the suffix

squareDimension

: dimensions of the square

Throws

when an error is occurred during creation of the file

WriterException

when an error is occurred during creation of the QRCODE


open fun <T> createQRCode(data: T, path: String, width: Int, height: Int): File

Method to create a QRCode file

Return

the qrcode created as File

Parameters

data

: data to create the QRCode

path

: path where create the file, included the suffix

width

: width of the QRCode

height

: height of the QRCode

Throws

when an error is occurred during creation of the file

WriterException

when an error is occurred during creation of the QRCODE


open fun <T> createQRCode(foregroundColor: String, data: T, path: String, squareDimension: Int): File

Method to create a squared QRCode file

Return

the qrcode created as File

Parameters

foregroundColor

: color of the QRCode pattern

data

: data to create the QRCode

path

: path where create the file, included the suffix

squareDimension

: dimensions of the square

Throws

when an error is occurred during creation of the file

WriterException

when an error is occurred during creation of the QRCODE


open fun <T> createQRCode(foregroundColor: String, data: T, path: String, width: Int, height: Int): File

Method to create a QRCode file

Return

the qrcode created as File

Parameters

foregroundColor

: color of the QRCode pattern

data

: data to create the QRCode

path

: path where create the file, included the suffix

width

: width of the QRCode

height

: height of the QRCode

Throws

when an error is occurred during creation of the file

WriterException

when an error is occurred during creation of the QRCODE


open fun <T> createQRCode(data: T, path: String, squareDimension: Int, backgroundColor: String): File

Method to create a squared QRCode file

Return

the qrcode created as File

Parameters

data

: data to create the QRCode

path

: path where create the file, included the suffix

squareDimension

: dimensions of the square

backgroundColor

: background color of the QRCode pattern

Throws

when an error is occurred during creation of the file

WriterException

when an error is occurred during creation of the QRCODE


open fun <T> createQRCode(data: T, path: String, width: Int, height: Int, backgroundColor: String): File

Method to create a QRCode file

Parameters

data

: data to create the QRCode

path

: path where create the file, included the suffix

width

: width of the QRCode

height

: height of the QRCode

backgroundColor

: background color of the QRCode pattern

Throws

when an error is occurred during creation of the file

WriterException

when an error is occurred during creation of the QRCODE


open fun <T> createQRCode(data: T, path: String, squareDimension: Int, foregroundColor: String, backgroundColor: String): File

Method to create a squared QRCode file

Parameters

data

: data to create the QRCode

path

: path where create the file, included the suffix

squareDimension

: dimensions of the square

foregroundColor

: color of the QRCode pattern

backgroundColor

: background color of the QRCode pattern

Throws

when an error is occurred during creation of the file

WriterException

when an error is occurred during creation of the QRCODE


open fun <T> createQRCode(data: T, path: String, width: Int, height: Int, foregroundColor: String, backgroundColor: String): File

Method to create a QRCode file

Parameters

data

: data to create the QRCode

path

: path where create the file, included the suffix

width

: width of the QRCode

height

: height of the QRCode

foregroundColor

: color of the QRCode pattern

backgroundColor

: background color of the QRCode pattern

Throws

when an error is occurred during creation of the file

WriterException

when an error is occurred during creation of the QRCODE