code: function Barcode1D() {
    this.mode = MODE_BARWIDTH;
    this.width = 0;
    this.height = 0;
    this.background = '#FFF';
    this.barcolor = '#000';
    this.type = 'PNG';
    this.offset = 0;
    this.modulewidth = 1;
  }
docs: constructor with defaults