Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

_ctx

_ctx: CanvasRenderingContext2D

_options

_options: DisplayOptions

Methods

Abstract _normalizedEventToPosition

  • _normalizedEventToPosition(x: number, y: number): [number, number]

Abstract _updateSize

  • _updateSize(): void

clear

  • clear(): void

Abstract computeFontSize

  • computeFontSize(availWidth: number, availHeight: number): number

Abstract computeSize

  • computeSize(availWidth: number, availHeight: number): [number, number]

Abstract draw

eventToPosition

  • eventToPosition(x: number, y: number): [number, number]

getContainer

  • getContainer(): HTMLCanvasElement

schedule

  • schedule(cb: function): void

setOptions

Generated using TypeDoc