LabelParam constructor

LabelParam({
  1. int labelWidth = 0,
  2. int labelLength = 0,
  3. double paperWidth = 0,
  4. double paperLength = 0,
  5. int imageAreaWidth = 0,
  6. int imageAreaLength = 0,
  7. int pinOffsetLeft = 0,
  8. int pinOffsetRight = 0,
  9. int physicalOffsetX = 0,
  10. int physicalOffsetY = 0,
  11. int labelType = 0,
  12. int paperID = 0,
  13. String paperName = "",
  14. String paperNameInch = "",
})

Implementation

LabelParam(
    {int labelWidth = 0,
    int labelLength = 0,
    double paperWidth = 0,
    double paperLength = 0,
    int imageAreaWidth = 0,
    int imageAreaLength = 0,
    int pinOffsetLeft = 0 ,
    int pinOffsetRight = 0,
    int physicalOffsetX = 0,
    int physicalOffsetY = 0,
    int labelType = 0,
    int paperID = 0,
    String paperName = "",
    String paperNameInch = ""})
    : this.labelWidth = labelWidth,
      this.labelLength = labelLength,
      this.paperWidth = paperWidth,
      this.paperLength = paperLength,
      this.imageAreaWidth = imageAreaWidth,
      this.imageAreaLength = imageAreaLength,
      this.pinOffsetLeft = pinOffsetLeft,
      this.pinOffsetRight = pinOffsetRight,
      this.physicalOffsetX = physicalOffsetX,
      this.physicalOffsetY = physicalOffsetY,
      this.labelType = labelType,
      this.paperName = paperName,
      this.paperNameInch = paperNameInch,
      this.paperID = paperID;