BaselinePosition

public extension BaselinePosition
  • Cast constructor, converting any binary integer to a BaselinePosition.

    Declaration

    Swift

    @inlinable
    init!<I>(_ raw: I) where I : BinaryInteger

    Parameters

    raw

    The raw integer value to initialise the enum from

  • top

    Align the baseline at the top

    Declaration

    Swift

    static let top: GtkBaselinePosition
  • Center the baseline

    Declaration

    Swift

    static let center: GtkBaselinePosition
  • Align the baseline at the bottom

    Declaration

    Swift

    static let bottom: GtkBaselinePosition