renderResult
Renders the given QRCode as a BitMatrix, scaling the same to be compliant with the provided dimensions.
If no scaling is required, both width and height arguments should be non-positive numbers.
Return
BitMatrix instance
Parameters
code
QRCode to be adapted as a BitMatrix
width
desired width for the QRCode (in pixel units)
height
desired height for the QRCode (in pixel units)
quietZone
the size of the QR quiet zone (in pixel units)
Throws
if code does not have a Matrix
if code is null