class EventHandler

Translates Canvas DOM events into non-DOM hit events.

Methods
constructor

Methods

constructor(canvas, hitCanvas)
Parameters:
  • HTMLCanvasElement canvas
  • HitCanvas hitCanvas