UNPKG

opensheetmusicdisplay

Version:

An open source JavaScript engine for displaying MusicXML based on VexFlow.

19 lines (18 loc) 853 B
import Vex from "vexflow"; import { Staff } from "../../VoiceData/Staff"; import { SourceMeasure } from "../../VoiceData/SourceMeasure"; import { VexFlowMeasure } from "./VexFlowMeasure"; import { StaffLine } from "../StaffLine"; import { ClefInstruction } from "../../VoiceData/Instructions/ClefInstruction"; export declare class VexFlowTabMeasure extends VexFlowMeasure { private multiRestElement; constructor(staff: Staff, sourceMeasure?: SourceMeasure, staffLine?: StaffLine); /** * Reset all the geometric values and parameters of this measure and put it in an initialized state. * This is needed to evaluate a measure a second time by system builder. */ resetLayout(): void; graphicalMeasureCreatedCalculations(): void; addClefAtBegin(clef: ClefInstruction): void; draw(ctx: Vex.IRenderContext): void; }