LineText constructor
LineText({})
Implementation
LineText(
{this.type, //text,barcode,qrcode,image(base64 string)
this.content,
this.size = 0,
this.align = ALIGN_LEFT,
this.weight = 0, //0,1
this.width = 0, //0,1
this.height = 0, //0,1
this.underline = 0, //0,1
this.linefeed = 0, //0,1
this.fontWidth = 1,
this.fontHeight = 1,
this.codeHeight = 40,
this.codeWidth = 5,//二维码宽度 1~10
this.x = 0,
this.y = 0});