@stringsync/vexml
Version:
MusicXML to Vexflow
22 lines (21 loc) • 700 B
TypeScript
import { GapOverlayStyle, Score } from './types';
/** Document is an interface for mutating a {@link Score}. */
export declare class Document {
readonly score: Score;
constructor(score: Score);
/** Returns a valid empty Document. */
static empty(): Document;
/**
* Mutates the score by inserting a gap measure with the given message. It will cause the measure indexes to shift,
* but not the measure labels.
*/
insertGapMeasureBefore(opts: {
absoluteMeasureIndex: number;
durationMs: number;
minWidth?: number;
label?: string;
style?: GapOverlayStyle;
}): this;
removePartLabels(): this;
clone(): Document;
}