vexflow
Version:
A JavaScript library for rendering music notation and guitar tablature.
20 lines (19 loc) • 675 B
TypeScript
import { Modifier } from './modifier';
import { ModifierContextState } from './modifiercontext';
import { Note } from './note';
export declare class Dot extends Modifier {
static get CATEGORY(): string;
protected dotShiftY: number;
/** Returns the dots associated to a Note. */
static getDots(note: Note): Dot[];
/** Add a dot on the specified keys to the notes. */
static buildAndAttach(notes: Note[], options?: {
index?: number;
all?: boolean;
}): void;
static format(dots: Dot[], state: ModifierContextState): boolean;
constructor();
setNote(note: Note): this;
setDotShiftY(y: number): this;
draw(): void;
}