PanDirection

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

    Declaration

    Swift

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

    Parameters

    raw

    The raw integer value to initialise the enum from

  • panned towards the left

    Declaration

    Swift

    static let left: GtkPanDirection
  • panned towards the right

    Declaration

    Swift

    static let right: GtkPanDirection
  • up

    panned upwards

    Declaration

    Swift

    static let up: GtkPanDirection
  • panned downwards

    Declaration

    Swift

    static let down: GtkPanDirection