QrOptionsBuilderScope

sealed interface QrOptionsBuilderScope

Properties

Link copied to clipboard

Level of error correction. Auto by default

Link copied to clipboard
abstract var fourEyed: Boolean

Enable 4th qr code eye. False by default

Link copied to clipboard
abstract var scale: Float

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

Functions

Link copied to clipboard
abstract fun background(block: QrBackgroundBuilderScope.() -> Unit)

Background.

Link copied to clipboard
abstract fun colors(block: QrColorsBuilderScope.() -> Unit)

Colors of QR code parts.

Link copied to clipboard
abstract fun logo(block: QrLogoBuilderScope.() -> Unit)

Middle image.

Link copied to clipboard
abstract fun shapes(centralSymmetry: Boolean = true, block: QrShapesBuilderScope.() -> Unit)

Shapes of the QR code pattern and its parts.