PrinterTextStyle class

字体样式

Constructors

PrinterTextStyle({AlignEnum? align, String? fontType, int? fontSize, bool? fontBlod, bool? underline, int? lineSpace, double? lineHeight})
PrinterTextStyle.deserialize(XmlElement xml)

Properties

align AlignEnum?
文字位置
final
fontBlod bool?
是否粗体 false
final
fontSize int?
字体大小 默认: 1
final
fontType String?
字体类型 默认: 1
final
hashCode int
The hash code for this object.
no setterinherited
lineHeight double?
行高
final
lineSpace int?
行距
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
underline bool?
是否删除线
final

Methods

copyWith({int? fontBaseWidth, int? fontBaseHeight, AlignEnum? align, String? fontType, int? fontSize, bool? fontBlod, bool? underline, int? lineSpace, double? lineHeight}) PrinterTextStyle
extendsStyle(PrinterTextStyle style) PrinterTextStyle
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serialize(XmlBuilder builder) → dynamic
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited