Package-level declarations

Types

Link copied to clipboard
data class DragEvent(val type: DragEvent.Type, val start: PointF, val offset: PointF)

Represents a drag event emitted by a navigator from a start point moved by an offset.

Link copied to clipboard
interface InputListener
Link copied to clipboard

Represents a key modifier for an input event.

Link copied to clipboard
value class Key(val code: String)

Represents a physical key on a keyboard.

Link copied to clipboard
data class KeyEvent(val type: KeyEvent.Type, val key: Key, val modifiers: Set<InputModifier>, val characters: String?)

Represents a keyboard event emitted by a navigator.

Link copied to clipboard
data class TapEvent(val point: PointF, val targetElement: TargetElement? = null)

Represents a tap event emitted by a navigator at the given point.

Link copied to clipboard
data class TargetElement(val rect: RectF, val content: Content.Element)

A content element targeted by a pointer event, paired with its on-screen rect.