@stringsync/vexml
Version:
MusicXML to Vexflow
33 lines (32 loc) • 1.09 kB
TypeScript
import { Point } from '../spatial';
import { StaveKey, StaveRender } from './types';
import { Config } from '../config';
import { Logger } from '../debug';
import { Document } from './document';
export declare class Stave {
private config;
private log;
private document;
private key;
private position;
constructor(config: Config, log: Logger, document: Document, key: StaveKey, position: Point);
render(): StaveRender;
private renderVoicesOrVexflowMultiMeasureRest;
private renderStartClef;
private renderEndClef;
private renderTime;
private renderMeasureLabel;
private shouldShowMeasureLabel;
private renderBarlines;
private toVexflowBarlineType;
private renderEndingBrackets;
/**
* Adjusts the stems based on the first non-rest note of each voice by mutating the voice entry data in place.
*
* This method does _not_ change any stem directions that were explicitly defined.
*/
private adjustStems;
private renderKeySignature;
private renderMetronome;
private renderRepetitionSymbol;
}