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; }
/// <summary> /// 线条颜色 /// </summary> /// <param name="color"></param> /// <returns></returns> public QRCode SetLineColor(LineColor color) { this.lineColor = color; this.autoColor = true; return(this); }