VerticalAlignment

public struct VerticalAlignment : Equatable, CustomStringConvertible

An alignment position along the vertical axis.

  • Creates an instance with the given ID.

    Note: each instance should have a unique ID.

    Declaration

    Swift

    public init(_ id: AlignmentID.Type)
  • Declaration

    Swift

    public static func == (lhs: VerticalAlignment, rhs: VerticalAlignment) -> Bool
  • Declaration

    Swift

    public var description: String { get }
  • top

    A guide marking the top edge of the element.

    Declaration

    Swift

    public static let top: VerticalAlignment
  • A guide marking the vertical center of the element.

    Declaration

    Swift

    public static let center: VerticalAlignment
  • A guide marking the bottom edge of the element.

    Declaration

    Swift

    public static let bottom: VerticalAlignment