Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

Properties

canvas: HTMLElement
ctx: SVGContext
graphicalMusicPage: GraphicalMusicPage

The GraphicalMusicPage the backend is drawing from. Each backend only renders one GraphicalMusicPage, to which the coordinates are relative.

height: number
inner: HTMLElement
renderer: Renderer
width: number
zoom: number

Methods

  • clear(): void
  • export(): void
  • free(): void
  • getCanvas(): HTMLElement
  • getCanvasSize(): number
  • getContext(): SVGContext
  • getInnerElement(): HTMLElement
  • getRenderElement(): HTMLElement
  • getRenderer(): Renderer
  • getSvgElement(): SVGElement
  • getVexflowBackendType(): Backends
  • initialize(container: HTMLElement, zoom: number): void
  • removeAllChildrenFromContainer(container: HTMLElement): void
  • removeFromContainer(container: HTMLElement): void
  • removeNode(node: Node): boolean
  • renderLine(start: PointF2D, stop: PointF2D, color?: string, lineWidth?: number, id?: string): Node
  • renderPath(points: PointF2D[], fill?: boolean, id?: string): Node
  • renderRectangle(rectangle: RectangleF2D, styleId: number, colorHex: string, alpha?: number): Node
  • renderText(fontHeight: number, fontStyle: FontStyles, font: Fonts, text: string, heightInPixel: number, screenPosition: PointF2D, color?: string, fontFamily?: string): Node
  • resize(width: number, height: number): void
  • scale(k: number): void
  • translate(x: number, y: number): void

Generated using TypeDoc