-
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 as the scroll x delta
Declaration
Swift
static let deltaX: GdkAxisUse
-
the axis is used as the scroll y delta
Declaration
Swift
static let deltaY: 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
Declaration
Swift
static let distance: GdkAxisUse
-
the axis is used for pen rotation information
Declaration
Swift
static let rotation: GdkAxisUse
-
the axis is used for pen slider information
Declaration
Swift
static let slider: GdkAxisUse
-
a constant equal to the numerically highest axis value.
Declaration
Swift
static let last: GdkAxisUse