Constructors

TextFormat(String font, num size, int color, { num strokeWidth: 0.0, int strokeColor: Color.Black, GraphicsGradient fillGradient: null, int weight: 400, bool bold: false, bool italic: false, bool underline: false, String align: "left", 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

Get a 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
weight → int

read / write

Operators

operator ==(other) → bool

The equality operator.

inherited

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