OptionalbackgroundBackground colour as [r, g, b], each channel 0-255. Missing channels default to 255, so the default colour is white.
OptionalforegroundForeground colour as [r, g, b], each channel 0-255. Missing channels default to 0, so the default colour is black.
OptionalmodulePixels per module, a positive integer. Default 4.
OptionalquietQuiet zone around the symbol, in modules, a non-negative integer. Default 4.
OptionalshowDraw textValue as a caption below the symbol. Default false. The caption is skipped when textValue is empty.
OptionaltextCaption text, drawn in a built-in 5x7 pixel font (letters are upper-cased; characters the font lacks render as a space). Default: empty, so no caption.
Options for renderBarcodePNG.