const classqrgen::QrCode

sys::Obj
  qrgen::QrCode

QrCode

eachModule

Source

Void eachModule(|Int,Int,Bool f)

Iterate modules for this code.

encodeStr

Source

static QrCode encodeStr(Str text, QrEcc ecc := QrEcc.medium)

Encode the given string into a new QrCode instance.

render

Source

Void render(Graphics g, Float x, Float y, Float w, Float h)

Render this code to the given graphics context at the given offset and size. The current color will be used for "dark" modules. The "light" modules will be left transparent.

renderPng

Source

Void renderPng(OutStream out, Float w, Float h)

Render this code to a PNG image.

size

Source

Int size()

Width and height of this code measured in modules.

version

Source

Int version()

Version of this code.