How to use your library draw QR codes with 3 vertices and circles? Looking forward to your reply
Closed this issue ยท 5 comments
will12190 commented
alexzhirkevich commented
val options = createQrVectorOptions {
colors {
dark = QrVectorColor.Solid(0XFF06084D.toColor())
}
shapes {
frame = QrVectorFrameShape.Circle(1f)
ball = QrVectorBallShape.Circle(1f)
darkPixel = QrVectorPixelShape.Circle(.85f)
}
}
will12190 commented
Thank you very much for your reply. I have tested it and it's okay. Thank you, God
will12190 commented
alexzhirkevich commented
val options = createQrVectorOptions { colors { dark = QrVectorColor.Solid(0XFF06084D.toColor()) } shapes { frame = QrVectorFrameShape.Circle(1f) ball = QrVectorBallShape.Circle(1f) darkPixel = QrVectorPixelShape.Circle(.85f) } }
The sample mentioned above produces QR code with 3 eyes as a default behavior.
To enabled 4rd eye you need to set fourthEyeEnabled = true
. So if you want to disable it you have to remove this line or set this flag to false
.
will12190 commented
Thank you for your reply. After testing, it's ready. Thank you again, your friend. Welcome to China to play