TextDrawConfig class

文本绘制参数

Constructors

TextDrawConfig(Offset offset, {Alignment align = Alignment.center, num scaleFactor = 1, num maxWidth = double.infinity, num minWidth = 0, num rotate = 0, TextAlign textAlign = TextAlign.center, TextDirection textDirection = TextDirection.ltr, int? maxLines, num maxHeight = double.maxFinite, String? ellipsis})

Properties

align → Alignment
final
ellipsis → String?
final
hashCode → int
The hash code for this object.
no setterinherited
maxHeight → num
final
maxLines → int?
final
maxWidth → num
final
minWidth → num
final
offset → Offset
final
rotate → num
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scaleFactor → num
final
textAlign → TextAlign
final
textDirection → TextDirection
final

Methods

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

Operators

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