-
Notifications
You must be signed in to change notification settings - Fork 18
QrOffset
Alexander Zhirkevich edited this page Sep 5, 2022
·
3 revisions
Offset of the QR code pattern relative to it padding. Allows QR code pattern not to be centred but shifted to some angle.
data class QrOffset(
@FloatRange(from = -1.0, to = 1.0) val x : Float,
@FloatRange(from = -1.0, to = 1.0) val y : Float,
)
Property | Description |
---|---|
x |
Horizontal shift of the QR code pattern. Must be from -1f to 1f
|
y |
Vertical shift of the QR code pattern. Must be from -1f to 1f
|