DragWithPointer

class DragWithPointer(val placement: ElementPlacement, val moveConsumer: (Vector2f) -> Unit, val dragStop: () -> Unit = {}, val canMoveCaptured: Boolean = true) : ElementInput

Constructors

Link copied to clipboard
constructor(placement: ElementPlacement, moveConsumer: (Vector2f) -> Unit, dragStop: () -> Unit = {}, canMoveCaptured: Boolean = true)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val dragStop: () -> Unit
Link copied to clipboard
Link copied to clipboard
val moveConsumer: (Vector2f) -> Unit
Link copied to clipboard

Functions

Link copied to clipboard
open override fun input(event: InputEvent, context: InputContext)