getPointerInfo

See source code
function getPointerInfo(e: PointerEvent | React.PointerEvent): {
  accelKey: boolean
  altKey: boolean
  button: number
  ctrlKey: boolean
  isPen: boolean
  metaKey: boolean
  point: {
    x: number
    y: number
    z: number
  }
  pointerId: number
  shiftKey: boolean
}

Parameters

NameDescription

e

PointerEvent | React.PointerEvent

Returns

{
  accelKey: boolean
  altKey: boolean
  button: number
  ctrlKey: boolean
  isPen: boolean
  metaKey: boolean
  point: {
    x: number
    y: number
    z: number
  }
  pointerId: number
  shiftKey: boolean
}
Prev
getPerfectDashProps
Next
getPointInArcT