Options
All
  • Public
  • Public/Protected
  • All
Menu

Class VexFlowBackend

Hierarchy

Index

Properties

Protected canvas

canvas: HTMLElement

Protected inner

inner: HTMLElement

Protected renderer

renderer: Renderer

Methods

Abstract clear

  • clear(): void

Abstract getBackendType

  • getBackendType(): number

getCanvas

  • getCanvas(): HTMLElement

Abstract getContext

  • getContext(): IRenderContext

getInnerElement

  • getInnerElement(): HTMLElement

getRenderer

  • getRenderer(): Renderer

Abstract initialize

  • initialize(container: HTMLElement): void

Abstract renderCurve

Abstract renderLine

  • renderLine(start: PointF2D, stop: PointF2D, color: string, lineWidth: number): void

Abstract renderRectangle

  • renderRectangle(rectangle: RectangleF2D, styleId: number, alpha: number): void

Abstract renderText

  • renderText(fontHeight: number, fontStyle: FontStyles, font: Fonts, text: string, heightInPixel: number, screenPosition: PointF2D, color?: string): void

resize

  • resize(x: number, y: number): void

Abstract scale

  • scale(k: number): void

Abstract translate

  • translate(x: number, y: number): void

Generated using TypeDoc