com.huskerdev.openglfx.canvas.events.GLReshapeEvent.kt Maven / Gradle / Ivy
package com.huskerdev.openglfx.canvas.events
import javafx.beans.NamedArg
import javafx.event.Event
import javafx.event.EventType
open class GLReshapeEvent(
@NamedArg("eventType") eventType: EventType,
@JvmField val width: Int,
@JvmField val height: Int
) : Event(eventType) {
companion object {
private const val serialVersionUID = 20220503L
/**
* Common supertype for all event types.
*/
@JvmStatic
val ANY: EventType = EventType(Event.ANY, "GL_RESHAPE")
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy