Skip to main content

CanDraw

Hierarchy

Implemented by

Index

Methods

off

  • off(eventName: predraw, handler?: (event: PreDrawEvent) => void): void
  • off(eventName: postdraw, handler?: (event: PostDrawEvent) => void): void
  • Parameters

    • eventName: predraw
    • optionalhandler: (event: PreDrawEvent) => void

    Returns void

on

  • on(eventName: predraw, handler: (event: PreDrawEvent) => void): void
  • on(eventName: postdraw, handler: (event: PostDrawEvent) => void): void
  • Event signatures


    Parameters

    Returns void

onPostDraw

  • Overridable implementation


    Parameters

    Returns void

onPreDraw

  • Overridable implementation


    Parameters

    Returns void

once

  • once(eventName: predraw, handler: (event: PreDrawEvent) => void): void
  • once(eventName: postdraw, handler: (event: PostDrawEvent) => void): void
  • Parameters

    Returns void