@stringsync/vexml
Version:
MusicXML to Vexflow
19 lines (18 loc) • 643 B
TypeScript
import { NamedElement } from '../util';
import { StaveType } from './enums';
/**
* Indicates different stave types. A stave is the set of five horizontal lines where notes and other musical
* symbols are placed.
*
* https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/staff-details/
*/
export declare class StaveDetails {
private element;
constructor(element: NamedElement<'staff-details'>);
/** Returns the stave type. */
getStaveType(): StaveType;
/** Returns the number of the stave. */
getStaveNumber(): number;
/** Returns the number of lines of the stave. */
getStaveLines(): number;
}