render
Renders a QR Code image based on its computed data. This function exists to ease the interop with Java :)
Return
A QRCodeGraphics with the QR Code rendered on it. It can then be saved or manipulated as desired.
Parameters
The size in pixels of each square (cell) in the QR Code. Defaults to 25
.
Color to be used for the "bright" parts of the QR Code. In RGBA space. Defaults to white.
Color to be used for the "dark" parts of the QR Code. In RGBA space. Defaults to black.
See also
Renders a QR Code image based on its computed data.
Return
A QRCodeGraphics with the QR Code rendered on it. It can then be saved or manipulated as desired.
Parameters
The size in pixels of each square (cell) in the QR Code. Defaults to 25
.
The data matrix of the QR Code. Defaults to this.encode().
The QRCodeGraphics where the QRCode will be painted into.
Color to be used for the "bright" parts of the QR Code. In RGBA space. Defaults to white.
Color to be used for the "dark" parts of the QR Code. In RGBA space. Defaults to black.