//qrcode-kotlin/io.github.g0dkar.qrcode/MaskPattern

MaskPattern

[common]
enum MaskPattern : Enum<MaskPattern>

Patterns to apply to the QRCode. They change how the QRCode looks in the end.

Rewritten in Kotlin from the original (GitHub)

Author

Rafael Lins - g0dkar

Kazuhiko Arase - kazuhikoarase

Entries

   
PATTERN000 [common]
PATTERN000
This is the default pattern (no pattern is applied)
PATTERN001 [common]
PATTERN001
PATTERN010 [common]
PATTERN010
PATTERN011 [common]
PATTERN011
PATTERN100 [common]
PATTERN100
PATTERN101 [common]
PATTERN101
PATTERN110 [common]
PATTERN110
PATTERN111 [common]
PATTERN111

Properties

Name Summary
entries [common]
val entries: EnumEntries<MaskPattern>
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): MaskPattern
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<MaskPattern>
Returns an array containing the constants of this enum type, in the order they’re declared.