OpenSheetMusicDisplay
    Preparing search index...

    Class VexFlowGraphicalNote

    The VexFlow version of a [[GraphicalNote]].

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    baseFingeringXOffset: number
    baseStringNumberXOffset: number
    boundingBox: BoundingBox
    DrawnAccidental: AccidentalEnum = AccidentalEnum.NONE
    graphicalNoteLength: Fraction
    lineShift: number = 0
    numberOfDots: number
    octaveShift: OctaveEnum
    parentVoiceEntry: GraphicalVoiceEntry
    sourceNote: Note
    staffLine: number
    vfnote: [StemmableNote, number]
    vfnoteIndex: number
    vfpitch: [string, string, ClefInstruction]

    Accessors

    Methods

    • Gets the SVG groups of the glissandi and slides starting at this note: each with the line, and in a TAB staff the label "sl.". A glissando across a system break has a group in each system (see VexFlowMusicSheetDrawer.drawGlissando()).

      Returns HTMLElement[]

    • 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).

      Returns HTMLElement[]

    • Gets the SVG groups of the ties starting at this note, each with the tie's curve. A tie across a system break has a group in each system (see VexFlowMeasure.addStaveTie()).

      Returns HTMLElement[]

    • 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, ties and glissandi, e.g. slides (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).

      Parameters

      Returns void