Optionalrules: EngravingRulesProtectedboundingA grace note that no main note follows in its staff entry (e.g. the only note of its voice there), drawn as its own tickable of the voice. Unlike a grace note after its main note (VoiceEntry.GraceAfterMainNote), it keeps its timestamp.
The x of the centre of the column of note heads the notes are drawn in, relative to the voice entry like the positions of its notes: including the shift of all of them aside from another voice's notes, but not the shift of a single head beside the others (e.g. of a second in a chord), so the same for all notes of a chord. The column also has the heads of other voices that aren't moved aside from them, e.g. of a whole note beside a quarter note: its centre is that of the widest head. The fingerings of the notes are centred on it (see MusicSheetCalculator.calculateFingerings()). Set with the positions of the notes (see VexFlowStaffEntry.positionNotesAtNoteHeads()), undefined e.g. for a rest.
Contains octave shifts affecting this voice entry, caused by octave brackets.
ProtectedrulesApply custom noteheads from Note.CustomNoteheadVFCode. This should happen before color().
Sets the vertical borders of this voice entry to the bounding box of its Vexflow note, e.g. from the tip of an up-stem that a beam extended (see VexFlowMeasure.updateBeamedVoiceEntryBorders()) to the lowest note head. Keeps the position of the voice entry, which its notes are placed relative to (VexFlowMeasure.correctNotePositions()): the next render's calculateXPosition() puts the voice entry there again (applyBordersFromVexflow()) and calculates the bounding boxes with the notes still where this render placed them.
The y of the stave's top line where the note's bounding box was measured (0 in calculateXPosition()).
(Re-)color notes and stems by setting their Vexflow styles. Could be made redundant by a Vexflow PR, but Vexflow needs more solid and permanent color methods/variables for that See VexFlowConverter.StaveNote() Also runs without EngravingRules.ColoringEnabled: it makes hidden notes (print-object="no") transparent, and draws the other notes in the default colors, like notes without a color in the XML. A beam takes the color of its stems, in VexFlowMeasure.finalizeBeams() (see EngravingRules.ColorBeams).
Whether all notes of this voice entry are hidden notes drawn because of EngravingRules.RenderHiddenNotes: then what they share is drawn in EngravingRules.HiddenNotesColor too, if set: the stem with its flags, the ledger lines (see color()) and a beam that only joins such voice entries (see VexFlowMeasure.finalizeBeams()).
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.
Sorts this entry's notes by pitch, from the highest to the lowest (in place), and returns them.
Sorts the notes from bottom to top like Vexflow sorts the keys of a StaveNote: by the staff line they're drawn on, and notes on the same line (e.g. G and G sharp) by pitch. Vexflow sorts only its key properties and noteheads, while the accidentals, string numbers, ties etc. of a note are added at the note's index in this array (VexFlowGraphicalNote.vfnoteIndex), and the note is placed at the notehead at that index. So in any other order they'd be drawn at another note, e.g. in a chord of G sharp and A flat, which have the same pitch, the flat at the G and the sharp at the A, and Vexflow warns "Unsorted keys in note will be sorted".
The graphical counterpart of a [[VoiceEntry]].