//qrcode-kotlin/qrcode/QRCodeBuilder/withCustomColorFunction
[common]
fun withCustomColorFunction(colorFn: QRCodeColorFunction?): QRCodeBuilder
Sets the QRCode.colorFn value to a custom one. If set, the builder will ignore color and background.
Default is null
, meaning a DefaultColorFunction will be created from the color and background values.
QRCodeColorFunction |
DefaultColorFunction |