OpenSheetMusicDisplay
    Preparing search index...

    Class CanvasVexFlowBackend

    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

    Accessors

    Methods

    • Initialize a canvas without attaching it to a DOM node. Can be used to draw in background

      Parameters

      • width: number = 300

        Width of the canvas

      • height: number = 300

        Height of the canvas

      Returns void