QrOptions

constructor(shapes: QrShapes = QrShapes(), colors: QrColors = QrColors(), logo: QrLogo = QrLogo(), background: QrBackground = QrBackground(), errorCorrectionLevel: QrErrorCorrectionLevel = QrErrorCorrectionLevel.Auto, fourEyed: Boolean = false, scale: Float = 1.0f)

Parameters

shapes

shapes of the QR code pattern and its parts

colors

colors of the QR code parts

logo

middle image

errorCorrectionLevel

level of error correction

fourEyed

enable fourth eye

scale

qr code scale inside the painter. Can be used to add a padding from the image sides