OpenSheetMusicDisplay
    Preparing search index...

    Class VexFlowTabMeasure

    Represents a measure in the music sheet (one measure in one staff line)

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    Accessors

    Methods

    Constructors

    Properties

    beginInstructionsWidth: number

    The x-width of possibly existing: repetition start line, clef, key, rhythm.

    boundingBox: BoundingBox
    connectors: StaveConnector[] = []

    VexFlow StaveConnectors (vertical lines)

    endInstructionsWidth: number

    The x-width of possibly existing: repetition end line, clef.

    ExtraGraphicalMeasurePreviousMeasure: GraphicalMeasure
    firstInstructionStaffEntry: GraphicalStaffEntry
    formatVoices?: (width: number, parent: VexFlowMeasure) => void

    Call this function (if present) to x-format all the voices in the measure

    hasError: boolean
    hasMetronomeMark: boolean = false
    hasOnlyRests: boolean = false

    Whether or not this measure is nothing but rest(s). Also see SourceMeasure.allRests, which is not the same, because a source measure can have multiple staffs/graphicalMeasures.

    InitiallyActiveClef: ClefInstruction

    The clef of the first note of the measure (the clef the measure starts with).

    IsExtraGraphicalMeasure: boolean

    Used to show key, rhythm changes at the end of the system, has MeasureNumber < 0, because never set.

    isTabMeasure: boolean = false
    lastInstructionStaffEntry: GraphicalStaffEntry
    minimumStaffEntriesWidth: number

    The minimum possible x-width of all staff entries without overlapping.

    octaveOffset: number = 3

    octaveOffset according to active clef

    parentSourceMeasure: SourceMeasure
    ShowKeySignature: boolean = true
    ShowTimeSignature: boolean = true
    staffEntries: GraphicalStaffEntry[]
    staffEntriesScaleFactor: number

    Will be set by music system builder while building systems.

    stave: Stave

    The VexFlow Stave (= one measure in a staffline)

    tuplets: { [voiceID: number]: [Tuplet, VexFlowVoiceEntry[]][] } = {}

    Intermediate object to construct tuplets

    vfRepetitionWords: Repetition[] = []

    The repetition instructions given as words or symbols (coda, dal segno..)

    vfTies: StaveTie[] = []

    The VexFlow Ties in the measure

    vfVoices: { [voiceID: number]: Voice } = {}

    The VexFlow Voices in the measure

    Accessors

    Methods