@stringsync/vexml
Version:
MusicXML to Vexflow
16 lines (15 loc) • 526 B
TypeScript
import { NamedElement } from '../util';
import { WedgeType } from './enums';
/**
* Represents a cescendo or diminuendo wedge symbols.
*
* See https://www.w3.org/2021/06/musicxml40/musicxml-reference/elements/wedge/
*/
export declare class Wedge {
private element;
constructor(element: NamedElement<'wedge'>);
/** Returns the type of the wedge. Defaults to null. */
getType(): WedgeType | null;
/** Indicates the gap between the top and bottom of the wedge. Defaults to 0. */
getSpread(): number;
}