-
Cast constructor, converting any binary integer to a
AxisUse
.Declaration
Swift
@inlinable init!<I>(_ raw: I) where I : BinaryInteger
Parameters
raw
The raw integer value to initialise the enum from
-
the axis is ignored.
Declaration
Swift
static let ignore: GdkAxisUse
-
the axis is used as the x axis.
Declaration
Swift
static let x: GdkAxisUse
-
the axis is used as the y axis.
Declaration
Swift
static let y: GdkAxisUse
-
the axis is used for pressure information.
Declaration
Swift
static let pressure: GdkAxisUse
-
the axis is used for x tilt information.
Declaration
Swift
static let xtilt: GdkAxisUse
-
the axis is used for y tilt information.
Declaration
Swift
static let ytilt: GdkAxisUse
-
the axis is used for wheel information.
Declaration
Swift
static let wheel: GdkAxisUse
-
the axis is used for pen/tablet distance information. (Since: 3.22)
Declaration
Swift
static let distance: GdkAxisUse
-
the axis is used for pen rotation information. (Since: 3.22)
Declaration
Swift
static let rotation: GdkAxisUse
-
the axis is used for pen slider information. (Since: 3.22)
Declaration
Swift
static let slider: GdkAxisUse
-
a constant equal to the numerically highest axis value.
Declaration
Swift
static let last: GdkAxisUse