package com.ruoyi.ptxlib.domain; import lombok.AllArgsConstructor; import lombok.Data; import lombok.NoArgsConstructor; /** * 标签打印文字类 */ @Data public class PTXLabelText { /** 文字类型 0:英文,1:中文*/ private Integer textType; /** y轴间距 */ private Integer spaceBetween; /** x坐标 */ private Integer x; /** y坐标 */ private Integer y; /** x轴垂直扩展 */ private Integer xLineHeight; /** y轴垂直扩展 */ private Integer yLineHeight; /** 打印的数据 */ private String printData; /** tff字体文件名称(包含后缀) */ private String tffFileName; public PTXLabelText() { } public PTXLabelText(Integer spaceBetween, Integer x, Integer y, Integer XLineHeight, Integer YLineHeight, String printData) { this.spaceBetween = spaceBetween; this.x = x; this.y = y; this.xLineHeight = XLineHeight; this.yLineHeight = YLineHeight; this.printData = printData; } public PTXLabelText(Integer spaceBetween, Integer x, Integer y, Integer XLineHeight, Integer YLineHeight, String printData, String tffFileName) { this.spaceBetween = spaceBetween; this.x = x; this.y = y; this.xLineHeight = XLineHeight; this.yLineHeight = YLineHeight; this.printData = printData; this.tffFileName = tffFileName; } }