LineText class
- Annotations
-
- @JsonSerializable(includeIfNull: false)
Constructors
-
LineText({String? type, String? content, int? size = 0, int? align = ALIGN_LEFT, int? weight = 0, int? width = 0, int? height = 0, int? absolutePos = 0, int? relativePos = 0, int? fontZoom = 1, int? underline = 0, int? linefeed = 0, int? x = 0, int? y = 0})
-
-
LineText.fromJson(Map<String, dynamic> json)
-
factory
Properties
-
absolutePos
→ int?
-
'text'
absolute position from line begin
final
-
align
→ int?
-
'text'
text align
final
-
content
→ String?
-
'text','barcode','qrcode','image'
need print content
final
-
fontZoom
→ int?
-
'text'
font zoom level, include 1-8
final
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
height
→ int?
-
final
-
linefeed
→ int?
-
'text'
print linebreak
final
-
relativePos
→ int?
-
'text'
relative position from last content
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
size
→ int?
-
'qrcode'
qrcode size ,only when type is qrcode
final
-
type
→ String?
-
print type ,inculde
'text','barcode','qrcode','image'
final
-
underline
→ int?
-
'text'
show underline
final
-
weight
→ int?
-
'text'
double
final
-
width
→ int?
-
final
-
x
→ int?
-
final
-
y
→ int?
-
final