Format class

Implementers
Annotations
  • @JsonSerializable.new(explicitToJson: true)

Constructors

Format({int xOffset = 0, int yOffset = 0, int width = 0, int height = 0, int align = 0, int rotate = 0, int renderColor = 0})
Format.fromJson(Map<String, dynamic> json)
factory

Properties

align int
对齐方式
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
height int
预打印内容的高度
getter/setter pair
renderColor int
指定渲染的颜色
getter/setter pair
rotate int
旋转角度
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
width int
预打印内容的宽度
getter/setter pair
xOffset int
在行打印中对应相对当前横向位置 在图打印中对应 x 轴坐标位置
getter/setter pair
yOffset int
在行打印中对应相对上一行的位置 在图打印中对应 y 轴坐标位置
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

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