Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • CanDraw

Implemented by

Index

Methods

off

  • off(eventName: Events.predraw, handler?: function): void
  • off(eventName: Events.postdraw, handler?: function): void

on

  • on(eventName: Events.predraw, handler: function): void
  • on(eventName: Events.postdraw, handler: function): void

onPostDraw

  • onPostDraw(_ctx: CanvasRenderingContext2D, _delta: number): void

onPreDraw

  • onPreDraw(_ctx: CanvasRenderingContext2D, _delta: number): void

once

  • once(eventName: Events.predraw, handler: function): void
  • once(eventName: Events.postdraw, handler: function): void