TextAlignment

public enum TextAlignment

Text alignment enumeration, controls how text is displayed.

  • Aligns the text to the left of the frame.

    Declaration

    Swift

    case left
  • Aligns the text to the right side of the frame.

    Declaration

    Swift

    case right
  • Centers the text in the frame.

    Declaration

    Swift

    case centered
  • Shows the line as justified text in the line.

    Declaration

    Swift

    case justified