LabelTextStyle constructor
LabelTextStyle({
- int? posX = 0,
- int? posY = 0,
- int? textSize = 24,
- int? textWidthRatio = 1,
- int? textHeightRatio = 1,
- int? width = -1,
- int? height = -1,
- AlignLabel? align = AlignLabel.DEFAULT,
- Rotate? rotate = Rotate.ROTATE_0,
- int? textSpace = 0,
- bool? enableBold = false,
- bool? enableUnderline = false,
- bool? enableStrikethrough = false,
- bool? enableItalics = false,
- bool? enAntiColor = false,
Implementation
LabelTextStyle({
this.posX = 0,
this.posY = 0,
this.textSize = 24,
this.textWidthRatio = 1,
this.textHeightRatio = 1,
this.width = -1,
this.height = -1,
this.align = AlignLabel.DEFAULT,
this.rotate = Rotate.ROTATE_0,
this.textSpace = 0,
this.enableBold = false,
this.enableUnderline = false,
this.enableStrikethrough = false,
this.enableItalics = false,
this.enAntiColor = false,
});