orpheus-osmd
Version:
An open source JavaScript engine for displaying MusicXML based on VexFlow.
17 lines (16 loc) • 813 B
TypeScript
import Vex = require("vexflow");
import { VoiceEntry } from "../../VoiceData/VoiceEntry";
import { GraphicalVoiceEntry } from "../GraphicalVoiceEntry";
import { GraphicalStaffEntry } from "../GraphicalStaffEntry";
export declare class VexFlowVoiceEntry extends GraphicalVoiceEntry {
private mVexFlowStaveNote;
constructor(parentVoiceEntry: VoiceEntry, parentStaffEntry: GraphicalStaffEntry);
applyBordersFromVexflow(): void;
set vfStaveNote(value: Vex.Flow.StemmableNote);
get vfStaveNote(): Vex.Flow.StemmableNote;
/** (Re-)color notes and stems by setting their Vexflow styles.
* Could be made redundant by a Vexflow PR, but Vexflow needs more solid and permanent color methods/variables for that
* See VexFlowConverter.StaveNote()
*/
color(): void;
}