getPointerInfo

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

Parameters

NameDescription

e

PointerEvent | React.PointerEvent

Returns

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