- margin
int margin;
 Margin around the QR code, also known as quiet zone.
- width
int width;
 Requested width of the rendered image.
- height
int height;
 Requested height of the rendered image.
- roundDimensions
bool roundDimensions;
 Whether dimensions should be rounded down.
- finalWidth
int finalWidth;
 Final width of the image.
- finalHeight
int finalHeight;
 Final height of the image.
- blockSize
int blockSize;
 Size of each individual block.
- backgroundColor
ColorInterface backgroundColor;
 - floorToClosestDimension
bool floorToClosestDimension;
 Whether dimensions should be rounded down
- foregroundColor
ColorInterface foregroundColor;
 - decorators
DecoratorInterface[] decorators;
 Decorators used on QR codes.
- setMargin
AbstractRenderer setMargin(int _margin)
 Sets the margin around the QR code.
- getMargin
int getMargin()
 Gets the margin around the QR code.
- setWidth
AbstractRenderer setWidth(int _width)
 Sets the height around the renderd image.
- getWidth
int getWidth()
 Gets the width of the rendered image.
- setHeight
AbstractRenderer setHeight(int _height)
 Sets the height around the renderd image.
- getHeight
int getHeight()
 Gets the height around the rendered image.
- setRoundDimensions
AbstractRenderer setRoundDimensions(bool flag)
 Sets whether dimensions should be rounded down.
- shouldRoundDimensions
bool shouldRoundDimensions()
 Gets whether dimensions should be rounded down.
- setBackgroundColor
AbstractRenderer setBackgroundColor(ColorInterface color)
 - getBackgroundColor
ColorInterface getBackgroundColor()
 - setForegroundColor
AbstractRenderer setForegroundColor(ColorInterface color)
 - getForegroundColor
ColorInterface getForegroundColor()
 - addDecorator
AbstractRenderer addDecorator(DecoratorInterface decorator)
 Adds a decorator to the renderer.
- render
string render(QrCode qrCode)
 render(): defined by RendererInterface.
- initRender
void initRender()
 Undocumented in source. Be warned that the author may not have intended to support it.
- 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.
PNG backend.