withCanvasSize

Size, in pixels, of the canvas the QRCode will be drawn into. The resulting image will be a square of size by size.

If this value is <= 0 than the size will be computed from the data.

Defaults to 0 (meaning the code will compute it from the data to be encoded)

Parameters

size

Size, in pixels, of the canvas where to draw the QRCode. Defaults to 0 meaning it'll be computed from the data to be encoded.