QrOptions
@Stable
Styling options of the QR code
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
Constructors
Link copied to clipboard
constructor(shapes: QrShapes = QrShapes(), colors: QrColors = QrColors(), logo: QrLogo = QrLogo(), background: QrBackground = QrBackground(), errorCorrectionLevel: QrErrorCorrectionLevel = QrErrorCorrectionLevel.Auto, fourEyed: Boolean = false, scale: Float = 1.0f)
Functions
Link copied to clipboard
fun copy(shapes: QrShapes = this.shapes, colors: QrColors = this.colors, logo: QrLogo = this.logo, errorCorrectionLevel: QrErrorCorrectionLevel = this.errorCorrectionLevel, fourthEyeEnabled: Boolean = this.fourEyed, background: QrBackground = this.background): QrOptions