fromAlignment

Converts an Alignment to a TextAlignment, if applicable.