Options
All
  • Public
  • Public/Protected
  • All
Menu
class

Abstract display backend module

Hierarchy

Index

Properties

_options

_options: DisplayOptions

Methods

Abstract clear

  • clear(): void

Abstract computeFontSize

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

Abstract computeSize

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

    • availWidth: number
    • availHeight: number

    Returns [number, number]

Abstract draw

Abstract eventToPosition

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

getContainer

  • getContainer(): HTMLElement | null

Abstract schedule

  • schedule(cb: function): void

setOptions

Generated using TypeDoc