//qrcode-kotlin/io.github.g0dkar.qrcode.internals/QRCodeSquareType

QRCodeSquareType

[common]
enum QRCodeSquareType : Enum<QRCodeSquareType>

The types available for squares in a QRCode.

Author

Rafael Lins - g0dkar

Entries

   
POSITION_PROBE [common]
POSITION_PROBE
Part of a position probe: one of those big squares at the extremities of the QRCode.
POSITION_ADJUST [common]
POSITION_ADJUST
Part of a position adjustment pattern: just like a position probe, but much smaller.
TIMING_PATTERN [common]
TIMING_PATTERN
Part of the timing pattern. Make it a square like any other :)
DEFAULT [common]
DEFAULT
Anything special. Just a square.
MARGIN [common]
MARGIN
Used to point out that this is part of the margin.

Properties

Name Summary
entries [common]
val entries: EnumEntries<QRCodeSquareType>
Returns a representation of an immutable list of all enum entries, in the order they’re declared.
name [common]
val name: String
ordinal [common]
val ordinal: Int

Functions

Name Summary
valueOf [common]
fun valueOf(value: String): QRCodeSquareType
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
values [common]
fun values(): Array<QRCodeSquareType>
Returns an array containing the constants of this enum type, in the order they’re declared.