VerticalAlignment

public enum VerticalAlignment

The possible vertical alignment values.

  • top

    Aligns the content to the top edge of the containing element.

    Declaration

    Swift

    case top
  • Centers the content vertically.

    Declaration

    Swift

    case center
  • Aligns the content to the bottom edge of the containing element.

    Declaration

    Swift

    case bottom
  • The content fills the full vertical height of the containing element.

    Declaration

    Swift

    case fill