Scroll

data class Scroll(val position: IntOffset, val deltaX: Double, val deltaY: Double) : PointerEvent(source)

A pointer scroll event with finite logical input displacement.

Positive deltaX requests motion toward increasing logical x. Positive deltaY requests motion toward increasing logical y. Adapters normalize native signs and units into this logical displacement.

Constructors

Link copied to clipboard
constructor(position: IntOffset, deltaX: Double, deltaY: Double)

Properties

Link copied to clipboard

horizontal logical displacement.

Link copied to clipboard

vertical logical displacement.

Link copied to clipboard
open override val position: IntOffset

the tree-coordinate event position.