TextFormat class

Constructors

TextFormat(String font, num size, int color, {num strokeWidth: 0.0, int strokeColor: Color.Black, GraphicsGradient fillGradient, int weight: 400, bool bold: false, bool italic: false, bool underline: false, String align: 'left', String verticalAlign: 'top', num topMargin: 0.0, num bottomMargin: 0.0, num leftMargin: 0.0, num rightMargin: 0.0, num indent: 0.0, num leading: 0.0})

Properties

align String
read / write
bold bool
read / write
bottomMargin num
read / write
color int
read / write
fillGradient GraphicsGradient
read / write
font String
read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
indent num
read / write
italic bool
read / write
leading num
read / write
leftMargin num
read / write
rightMargin num
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
size num
read / write
strokeColor int
read / write
strokeWidth num
read / write
topMargin num
read / write
underline bool
read / write
verticalAlign String
read / write
weight int
read / write

Methods

clone() TextFormat
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
Returns a string representation of this object.
inherited

Operators

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