OpenSheetMusicDisplay
    Preparing search index...

    Class GraphicalNote

    The graphical counterpart of a [[Note]]

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    baseFingeringXOffset: number
    baseStringNumberXOffset: number
    boundingBox: BoundingBox
    DrawnAccidental: AccidentalEnum = AccidentalEnum.NONE
    graphicalNoteLength: Fraction
    lineShift: number = 0
    numberOfDots: number
    parentVoiceEntry: GraphicalVoiceEntry
    sourceNote: Note
    staffLine: number

    Accessors

    Methods

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

      Parameters

      Returns void