Search…
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:
Name
Type
Returns: CanvasPointerEvent

offsetPointers

offsetPointers(offsetX: number, offsetY: number): void
Parameters:
Name
Type
offsetX
number
offsetY
number
Returns: void
Export as PDF
Copy link
On this page
Hierarchy
Index
Constructors
Properties
Accessors
Methods
Constructors
constructor
Properties
action
offset
pointerCount
pointers
scrollX
scrollY
scrollZ
target
Accessors
primaryPointer
Methods
clone
cloneTo
offsetPointers