Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SvgVexFlowBackend

Hierarchy

Index

Properties

Protected canvas

canvas: HTMLElement

Private ctx

ctx: SVGContext

Protected inner

inner: HTMLElement

Protected renderer

renderer: Renderer

Methods

clear

  • clear(): void

getBackendType

  • getBackendType(): number

getCanvas

  • getCanvas(): HTMLElement

getContext

  • getContext(): SVGContext

getInnerElement

  • getInnerElement(): HTMLElement

getRenderer

  • getRenderer(): Renderer

initialize

  • initialize(container: HTMLElement): void

renderCurve

renderLine

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

renderRectangle

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

renderText

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

resize

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

scale

  • scale(k: number): void

translate

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

Generated using TypeDoc