@stringsync/vexml
Version:
MusicXML to Vexflow
21 lines (20 loc) • 549 B
TypeScript
import * as vexflow from 'vexflow';
import { Rect } from '../spatial';
import { Config } from '../config';
import { Logger } from '../debug';
export type DebugRectStyle = {
stroke?: string;
fill?: string;
};
export declare class DebugRect {
private config;
private log;
private label;
private rect;
private style?;
private ctx;
constructor(config: Config, log: Logger, label: string, rect: Rect, style?: DebugRectStyle);
setContext(ctx: vexflow.RenderContext): this;
draw(): this;
private drawRect;
}