BaselineShift

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

    Declaration

    Swift

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

    Parameters

    raw

    The raw integer value to initialise the enum from

  • Leave the baseline unchanged

    Declaration

    Swift

    static let none: Int
  • Shift the baseline to the superscript position, relative to the previous run

    Declaration

    Swift

    static let superscript: PangoBaselineShift
  • Shift the baseline to the subscript position, relative to the previous run

    Declaration

    Swift

    static let `subscript`: PangoBaselineShift