CanvasPointerEvent

Hierarchy

  • CanvasPointerEvent

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

+ new CanvasPointerEvent(): CanvasPointerEvent

Returns: CanvasPointerEvent

Properties

action

action: PointerAction

offset

offset: Offset

pointerCount

pointerCount: number = 0

pointers

pointers: CanvasPointer[] = new Array(10).fill(null).map(() => ({}) as any)

scrollX

scrollX: number = 0

scrollY

scrollY: number = 0

scrollZ

scrollZ: number = 0

target

target: View

Accessors

primaryPointer

get primaryPointer(): CanvasPointer

Returns: CanvasPointer

Methods

clone

clone(): CanvasPointerEvent

Returns: CanvasPointerEvent

cloneTo

cloneTo(event: CanvasPointerEvent): CanvasPointerEvent

Parameters:

Returns: CanvasPointerEvent

offsetPointers

offsetPointers(offsetX: number, offsetY: number): void

Parameters:

Returns: void

Last updated