@stringsync/vexml
Version:
MusicXML to Vexflow
28 lines (27 loc) • 938 B
TypeScript
import { Config } from '../config';
import { Logger } from '../debug';
import { Document } from './document';
import { CurveKey, CurveRender } from './types';
import { RenderRegistry } from './renderregistry';
export declare class Curve {
private config;
private log;
private document;
private key;
private registry;
constructor(config: Config, log: Logger, document: Document, key: CurveKey, registry: RenderRegistry);
render(): CurveRender;
private renderVexflowCurves;
private renderSingleVexflowCurve;
private renderVexflowCurvesAcrossSystems;
private getVexflowCurveNoteOptions;
private inferTabTieText;
private getOpeningDirection;
private getVexflowCurvePosition;
private getCurvePlacement;
private getCurveNotes;
/**
* Returns the actual stem direction of the note, including the concrete resulting stem when using auto-stem.
*/
private getStem;
}