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 }
-
The equivalent raw
gint
valueDeclaration
Swift
@inlinable public var int: gint { get set }
-
The equivalent underlying
GdkAxisFlags
enum valueDeclaration
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 valueDeclaration
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 axis is present
Declaration
Swift
public static let x: AxisFlags
-
Y axis is present
Declaration
Swift
public static let y: AxisFlags
-
Scroll X delta axis is present
Declaration
Swift
public static let deltaX: AxisFlags
-
Scroll Y delta axis is present
Declaration
Swift
public static let deltaY: 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