VerticalTextAlignment

public enum VerticalTextAlignment : String, Codable

The desired vertical position of the text inside the bounds specified

  • top

    Text should be aligned against the top of the bounding rectangle

    Declaration

    Swift

    case top
  • Text should be in the middle of the bounding rectangle

    Declaration

    Swift

    case middle = "center"
  • Text should be at aligned with the bottom of the bounding rectangle

    Declaration

    Swift

    case bottom