//qrcode-kotlin/qrcode/QRCodeBuilder/withGradientColor
[common]\
fun withGradientColor(startColor: Int, endColor: Int?, vertical: Boolean = true): QRCodeBuilder
Uses a LinearGradientColorFunction to choose colors for the QRCode.
By default, the gradient will be a vertical one (top-to-bottom)
If endColor is null
, a DefaultColorFunction will be used instead.
Colors |