struct Goban::MQR

Overview

Object that represents an encoded Micro QR Code symbol.

Extended Modules

Defined in:

goban/mqr.cr
goban/mqr/decoder.cr
goban/mqr/encoder.cr
goban/mqr/mask.cr
goban/mqr/template.cr
goban/mqr/version.cr

Instance Method Summary

Instance methods inherited from struct Goban::AbstractQR

canvas canvas, ecl ecl, initialize initialize, print_to_console print_to_console, segments segments, size size, version version

Constructor methods inherited from struct Goban::AbstractQR

new new

Instance Method Detail

def canvas : Canvas(UInt8) #

Returns the canvas of the Micro QR Code symbol. Canvas contains information about each single module (pixel) in the symbol.


def ecl : ECC::Level #

Error correction level of the Micro QR Code symbol.


def mask : Mask #

Mask applied to this Micro QR Code symbol.


def segments : Array(Segment) #

Content text segments of the QR Code symbol.


def size : Int32 #

Length of a side in the symbol.


def version : Version #

Version of the Micro QR Code symbol. Version in QR Code does not refer to its revision, but simply indicates the size format of the QR Code symbol.