OpenSheetMusicDisplay
    Preparing search index...

    Class SvgVexFlowBackend

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    canvas: HTMLElement
    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

    • Renders a text to the screen.

      Parameters

      • fontHeight: number
      • fontStyle: FontStyles
      • font: Fonts
      • text: string
      • heightInPixel: number
      • screenPosition: PointF2D
      • color: string = undefined
      • fontFamily: string = undefined
      • language: string = undefined

        the language of the text as a BCP 47 tag (e.g. "ja"), for the browser's choice of fonts (see Label.language)

      Returns Node