orpheus-osmd
Version:
An open source JavaScript engine for displaying MusicXML based on VexFlow.
15 lines (14 loc) • 798 B
TypeScript
import Vex = require("vexflow");
import { GraphicalStaffEntry } from "../GraphicalStaffEntry";
import { VexFlowMeasure } from "./VexFlowMeasure";
import { SourceStaffEntry } from "../../VoiceData/SourceStaffEntry";
export declare class VexFlowStaffEntry extends GraphicalStaffEntry {
constructor(measure: VexFlowMeasure, sourceStaffEntry: SourceStaffEntry, staffEntryParent: VexFlowStaffEntry);
vfClefBefore: Vex.Flow.ClefNote;
/**
* Calculates the staff entry positions from the VexFlow stave information and the tickabels inside the staff.
* This is needed in order to set the OSMD staff entries (which are almost the same as tickables) to the correct positionts.
* It is also needed to be done after formatting!
*/
calculateXPosition(): void;
}