AttributedString.TextAlignment.center

The horizontal center of each line is aligned to the horizontal center of the container.

Declaration

case center