Beispiel #1
0
 public QRCode()
 {
     this.autoColor = false;
     this.lineColor = new LineColor()
     {
         r = 0,
         g = 0,
         b = 0
     };
     this.width   = 430;
     this.page    = "pages/index/index";
     this.hyaline = false;
 }
Beispiel #2
0
 /// <summary>
 /// 线条颜色
 /// </summary>
 /// <param name="color"></param>
 /// <returns></returns>
 public QRCode SetLineColor(LineColor color)
 {
     this.lineColor = color;
     this.autoColor = true;
     return(this);
 }