Interface · Core and Composition
PointerEvent
Normalized native pointer event in local device-independent coordinates.
@sharpts/gui 0.0.0-local · SharpTS 7c6010104a43Members
alt
readonly alt: booleanWhether Alt is pressed.
Type: boolean
button
readonly button: PointerButtonButton whose state changed, or none for movement/cancellation.
Type: PointerButton
buttons
readonly buttons: numberStandard button bitmask: left=1, right=2, middle=4, x1=8, x2=16.
Type: number
ctrl
readonly ctrl: booleanWhether Control is pressed.
Type: boolean
meta
readonly meta: booleanWhether the platform meta key is pressed.
Type: boolean
pointerId
readonly pointerId: numberStable native pointer identifier for the duration of the gesture.
Type: number
pointerType
readonly pointerType: PointerTypeDevice category that produced the event.
Type: PointerType
pressure
readonly pressure: numberNormalized pressure from zero to one.
Type: number
shift
readonly shift: booleanWhether Shift is pressed.
Type: boolean
x
readonly x: numberLocal horizontal position in device-independent pixels.
Type: number
y
readonly y: numberLocal vertical position in device-independent pixels.
Type: number
Related symbols
Source
SharpTS.Gui.Sdk/GuiPackage/runtime-types.ts:58 at SharpTS revision 7c6010104a43c34d80e9d44704cf179bc4f5b8e0.