AxisFlags

public struct AxisFlags : OptionSet

Flags describing the current capabilities of a device/tool.

  • The corresponding value of the raw type

    Declaration

    Swift

    public var rawValue: UInt32
  • The equivalent raw Int value

    Declaration

    Swift

    @inlinable
    public var intValue: Int { get set }
  • int

    The equivalent raw gint value

    Declaration

    Swift

    @inlinable
    public var int: gint { get set }
  • The equivalent underlying GdkAxisFlags enum value

    Declaration

    Swift

    @inlinable
    public var value: GdkAxisFlags { get set }
  • Creates a new instance with the specified raw value

    Declaration

    Swift

    @inlinable
    public init(rawValue: UInt32)
  • Creates a new instance with the specified GdkAxisFlags enum value

    Declaration

    Swift

    @inlinable
    public init(_ enumValue: GdkAxisFlags)
  • Creates a new instance with the specified Int value

    Declaration

    Swift

    @inlinable
    public init<I>(_ intValue: I) where I : BinaryInteger
  • x

    X axis is present

    Declaration

    Swift

    public static let x: AxisFlags
  • y

    Y axis is present

    Declaration

    Swift

    public static let y: AxisFlags
  • Pressure axis is present

    Declaration

    Swift

    public static let pressure: AxisFlags
  • X tilt axis is present

    Declaration

    Swift

    public static let xtilt: AxisFlags
  • Y tilt axis is present

    Declaration

    Swift

    public static let ytilt: AxisFlags
  • Wheel axis is present

    Declaration

    Swift

    public static let wheel: AxisFlags
  • Distance axis is present

    Declaration

    Swift

    public static let distance: AxisFlags
  • Z-axis rotation is present

    Declaration

    Swift

    public static let rotation: AxisFlags
  • Slider axis is present

    Declaration

    Swift

    public static let slider: AxisFlags