CanvasPointerEvent
+ new CanvasPointerEvent(): CanvasPointerEvent
Returns: CanvasPointerEvent
• action: PointerAction
• offset: Offset
• pointerCount: number = 0
• pointers: CanvasPointer[] = new Array(10).fill(null).map(() => ({}) as any)
• scrollX: number = 0
• scrollY: number = 0
• scrollZ: number = 0
• target: View
• get primaryPointer(): CanvasPointer
Returns: CanvasPointer
▸ clone(): CanvasPointerEvent
Returns: CanvasPointerEvent
▸ cloneTo(event
: CanvasPointerEvent): CanvasPointerEvent
Parameters:
Returns: CanvasPointerEvent
▸ offsetPointers(offsetX
: number, offsetY
: number): void
Parameters:
Returns: void
Name
Type
event
Name
Type
offsetX
number
offsetY
number