Plain

Plaintext renderer.

Members

Functions

addColor
void addColor(string id, ColorInterface color)
Undocumented in source. Be warned that the author may not have intended to support it.
drawBackground
void drawBackground(string colorId)
Undocumented in source. Be warned that the author may not have intended to support it.
drawBlock
void drawBlock(int x, int y, string colorId)
Undocumented in source. Be warned that the author may not have intended to support it.
getByteStream
string getByteStream()
Undocumented in source. Be warned that the author may not have intended to support it.
getEmptyBlock
string getEmptyBlock()

Get char used as empty block (empty space, "white").

getFullBlock
string getFullBlock()

Get char used as full block (occupied space, "black").

getMargin
int getMargin()

Gets the margin around the QR code.

initRender
void initRender()
Undocumented in source. Be warned that the author may not have intended to support it.
render
string render(QrCode qrCode)

render(): defined by RendererInterface.

setEmptyBlock
void setEmptyBlock(string emptyBlock)

Set char used as empty block (empty space, "white").

setFullBlock
void setFullBlock(string fullBlock)

Set char used as full block (occupied space, "black").

setMargin
RendererInterface setMargin(int margin)

Sets the margin around the QR code.

Variables

emptyBlock
string emptyBlock;

Char used for empty space

fullBlock
string fullBlock;

Char used for full block.

margin
int margin;

Margin around the QR code, also known as quiet zone.

Inherited Members

From RendererInterface

render
string render(QrCode qrCode)

Renders a QR code.

initRender
void initRender()
Undocumented in source.
addColor
void addColor(string id, ColorInterface color)
Undocumented in source.
drawBackground
void drawBackground(string colorId)
Undocumented in source.
drawBlock
void drawBlock(int x, int y, string colorId)
Undocumented in source.
getByteStream
string getByteStream()
Undocumented in source.

Meta