-
Notifications
You must be signed in to change notification settings - Fork 18
QrColors
Alexander Zhirkevich edited this page Sep 5, 2022
·
4 revisions
Colors of the QR code elements.
@Serializable
data class QrColors(
val light : QrColor = QrColor.Unspecified,
val dark : QrColor = QrColor.Solid(Color(0xff000000)),
val frame : QrColor = QrColor.Unspecified,
val ball : QrColor = QrColor.Unspecified,
val highlighting : QrColor = QrColor.Unspecified,
val symmetry : Boolean = true,
)
Property | Description |
---|---|
light |
Colour of the light QR code pixels |
dark |
Colour of the dark QR code pixels |
frame |
Colour of the QR code eye frame |
ball |
Colour of the QR code eye ball |
highlighting |
Colour of the dark QR code pattern highlighting. Applied on top of background, below pattern |
symmetry |
If symmetry is true, all QR code eyes will be painted the same way. Otherwise, painting can be mirrored |