MongolTextAlign enum

Whether and how to align text vertically.

This is only used at the MongolTextPainter level and above. Below that the more primitive TextAlign enum is used and top is mapped to left and bottom is mapped to right.

Inheritance

Constructors

MongolTextAlign()
const

Values

top → const MongolTextAlign

Align the text on the top edge of the container.

bottom → const MongolTextAlign

Align the text on the bottom edge of the container.

center → const MongolTextAlign

Align the text in the center of the container.

justify → const MongolTextAlign

Stretch lines of text that end with a soft line break to fill the height of the container.

Lines that end with hard line breaks are aligned towards the top edge.

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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

Constants

values → const List<MongolTextAlign>
A constant List of the values in this enum, in order of their declaration.