ProtectedboundingGets the clef for this note
Gets the SVG path elements of the beams starting on this note.
Gets the SVG path elements of the note's ledger lines.
Gets the SVG elements of the note's modifiers: the groups of a stave note's modifiers (e.g. accidentals), or the shapes of a TAB note's modifiers (e.g. a bend's curve, arrow and label).
Gets the SVG elements of the note heads, e.g. the paths of a chord's heads, or the fret numbers of a TAB note (and its chord).
Gets the SVG path elements of the note's slur curve.
Gets the SVG path element of the note's stem.
Gets the SVGGElement containing this note, given the SVGRenderer is used. This is for low-level rendering hacks and should be used with caution.
Gets the id of the SVGGElement containing this note, given the SVGRenderer is used. This is for low-level rendering hacks and should be used with caution.
Gets the SVG path elements of the note's tie curves.
Returns whether this object is an instance of the class, e.g. isInstanceOfClass(GraphicalMeasure).
The class, or its name (e.g. GraphicalMeasure.name). A name is unreliable in minified builds: they rename the classes, and give different classes the same name, e.g. "a" to GraphicalMeasure and GraphicalNote.
Update the pitch of this note. Necessary in order to display accidentals correctly. This is called by VexFlowGraphicalSymbolFactory.addGraphicalAccidental.
Change the color of a note (without re-rendering). See ColoringOptions for options like applyToBeams etc. For a TAB note, the note heads are its fret numbers, and its modifiers e.g. bends. This requires the SVG backend (default, instead of canvas backend).
Set the VexFlow StaveNote corresponding to this GraphicalNote, together with its index in the chord.
Toggle visibility of the note, making it and its stem and beams invisible for false.
By default, this will also hide the note's slurs and ties (see visibilityOptions).
(This only works with the default SVG backend, not with the Canvas backend/renderer)
To get a GraphicalNote from a Note, use osmd.EngravingRules.GNote(note).
StaticFromGet a GraphicalNote from a Note. Use osmd.rules as the second parameter (instance reference). Also more easily available via osmd.rules.GNote(note).
The VexFlow version of a [[GraphicalNote]].