示例#1
0
 /**
  * Class constructor
  *
  * @param Image_Barcode2_Writer $writer Library to use.
  */
 public function __construct(Image_Barcode2_Writer $writer)
 {
     parent::__construct($writer);
     $this->setBarcodeHeight(50);
     $this->setBarcodeWidthThin(1);
     $this->setBarcodeWidthThick(3);
 }
示例#2
0
文件: Postnet.php 项目: pizar/gaia
 /**
  * Class constructor
  *
  * @param Image_Barcode2_Writer $writer Library to use.
  */
 public function __construct(Image_Barcode2_Writer $writer)
 {
     parent::__construct($writer);
     $this->setBarcodeWidth(2);
 }