Logo FS-Skia-UI

PointerSample Type

Host-independent input value. Consumers build this from ViewerEvent (or any source), applying the same device-pixel scaling / pixel-snap policy already applied to layout so X/Y share the control-bounds coordinate space.

Record fields

Record Field Description

Button

Full Usage: Button

Field type: PointerButton option
Field type: PointerButton option

DeltaX

Full Usage: DeltaX

Field type: float
Field type: float

DeltaY

Full Usage: DeltaY

Field type: float
Field type: float

Phase

Full Usage: Phase

Field type: PointerPhase
Field type: PointerPhase

X

Full Usage: X

Field type: float
Field type: float

Y

Full Usage: Y

Field type: float
Field type: float

Type something to start searching.