setAlignment

fun setAlignment(alignment: TextAlignment)

Set the text alignment.