//qrcode-kotlin/qrcode.render/QRCodeGraphicsFactory

QRCodeGraphicsFactory

[common]
open class QRCodeGraphicsFactory

A class used by QRCode to build instances of QRCodeGraphics.

It builds the default QRCodeGraphics available for the platform.

You might extend it to generate customized QRCodeGraphics instances.

Author

Rafael Lins - g0dkar

Constructors

   
QRCodeGraphicsFactory [common]
constructor()

Functions

Name Summary
newGraphics [common]
open fun newGraphics(width: Int, height: Int): QRCodeGraphics
Creates a new QRCodeGraphics instance.
newGraphicsSquare [common]
open fun newGraphicsSquare(size: Int): QRCodeGraphics
Creates a size by size square QRCodeGraphics instance.