//qrcode-kotlin/io.github.g0dkar.qrcode.internals/QRCodeSquareInfo
[common]
data class QRCodeSquareInfo(val type: QRCodeSquareType, val region: QRCodeRegion)
Returns information on the square itself. It has the type of square and its region within its relative type.
For example, if type = POSITION_PROBE
then region will represent where within the Position Probe this square is positioned. A region of QRCodeRegion.TOP_LEFT_CORNER for example represents the top left corner of the position probe this particular square is part of (a QRCode have 3 position probes).
QRCodeSquareInfo | [common] constructor(type: QRCodeSquareType, region: QRCodeRegion) |
Name | Summary |
---|---|
Companion | [common] object Companion |
Name | Summary |
---|---|
region | [common] val region: QRCodeRegion |
type | [common] val type: QRCodeSquareType |