toyGraphics / com.anysolo.toyGraphics / KeyModifiers

KeyModifiers

data class KeyModifiers

What modifiers keys were pressed in the moment of when a normal key was pressed.

Constructors

<init>

KeyModifiers(shift: Boolean = false, alt: Boolean = false, ctrl: Boolean = false, meta: Boolean = false)

What modifiers keys were pressed in the moment of when a normal key was pressed.

Properties

alt

val alt: Boolean

ctrl

val ctrl: Boolean

meta

val meta: Boolean

shift

val shift: Boolean