BaseStyle class
基础样式属性
- Implementers
- Annotations
-
- @JsonSerializable.new(explicitToJson: true)
Constructors
- BaseStyle(Format format)
- JsonSerializable不能使用私有构造
-
BaseStyle.fromJson(Map<
String, dynamic> json) -
factory
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setAlign(
Align align) → BaseStyle - 设置之后打印内容整体的对齐方式
-
setHeight(
int height) → BaseStyle - 设置打印区域高
-
setPosX(
int offset) → BaseStyle - 设置打印区域坐标位置
-
setPosY(
int offset) → BaseStyle - 设置打印区域坐标位置
-
setRenderColor(
RenderColor renderColor) → BaseStyle - 设置打印颜色
-
setWidth(
int width) → BaseStyle - 设置打印区域宽
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited