DeviceToolType

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

    Declaration

    Swift

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

    Parameters

    raw

    The raw integer value to initialise the enum from

  • Tool is of an unknown type.

    Declaration

    Swift

    static let unknown: GdkDeviceToolType
  • pen

    Tool is a standard tablet stylus.

    Declaration

    Swift

    static let pen: GdkDeviceToolType
  • Tool is standard tablet eraser.

    Declaration

    Swift

    static let eraser: GdkDeviceToolType
  • Tool is a brush stylus.

    Declaration

    Swift

    static let brush: GdkDeviceToolType
  • Tool is a pencil stylus.

    Declaration

    Swift

    static let pencil: GdkDeviceToolType
  • Tool is an airbrush stylus.

    Declaration

    Swift

    static let airbrush: GdkDeviceToolType
  • Tool is a mouse.

    Declaration

    Swift

    static let mouse: GdkDeviceToolType
  • Tool is a lens cursor.

    Declaration

    Swift

    static let lens: GdkDeviceToolType