CText constructor

CText({
  1. CFont font = CFont.tss16,
  2. CRotation rotation = CRotation.rotation_0,
  3. required int textX,
  4. required int textY,
  5. required String content,
  6. bool? bold,
  7. bool? underline,
  8. bool? mag,
})

Implementation

CText({
  CFont font = CFont.tss16,
  CRotation rotation = CRotation.rotation_0,
  required int textX,
  required int textY,
  required String content,
  bool? bold,
  bool? underline,
  bool? mag,
}) {
  _font = font;
  _rotation = rotation;
  _textX = textX;
  _textY = textY;
  _content = content;
  _bold = bold;
  _underline = underline;
  _mag = mag;
}