All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.io.nacular.doodle.event.InputEvent.kt Maven / Gradle / Ivy

package io.nacular.doodle.event

import io.nacular.doodle.core.View
import io.nacular.doodle.system.SystemInputEvent.Modifier


public abstract class InputEvent internal constructor(source: View, public val modifiers: Set): Event(source) {
    public operator fun contains(modifiers: Set): Boolean = modifiers.containsAll(modifiers)
    public operator fun contains(modifier : Modifier     ): Boolean = modifier in modifiers
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy