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
-
getter/setter pair
- bold ↔ bool
-
getter/setter pair
- bottomMargin ↔ num
-
getter/setter pair
- color ↔ int
-
getter/setter pair
- fillGradient ↔ GraphicsGradient?
-
getter/setter pair
- font ↔ String
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- indent ↔ num
-
getter/setter pair
- italic ↔ bool
-
getter/setter pair
- leading ↔ num
-
getter/setter pair
- leftMargin ↔ num
-
getter/setter pair
- rightMargin ↔ num
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- size ↔ num
-
getter/setter pair
- strokeColor ↔ int
-
getter/setter pair
- strokeWidth ↔ num
-
getter/setter pair
- topMargin ↔ num
-
getter/setter pair
- underline ↔ bool
-
getter/setter pair
- verticalAlign ↔ String
-
getter/setter pair
- weight ↔ int
-
getter/setter pair
Methods
-
clone(
) → TextFormat -
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