//qrcode-kotlin/qrcode/QRCodeBuilder/withCustomColorFunction

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.

See also

 
QRCodeColorFunction
DefaultColorFunction