setTextAlign

expect infix fun setTextAlign(value: TextAlignment)

Set how to align the lines of the text. Note that it doesn't align the object itself, only the lines inside the object. The possible values are LEFT/CENTER/RIGHT/AUTO. Use TextAlignment.AUTO to detect the text base direction and use left or right alignment accordingly.

Parameters

value

The new value to use.

actual infix fun setTextAlign(value: TextAlignment)
actual infix fun setTextAlign(value: TextAlignment)