Options
All
  • Public
  • Public/Protected
  • All
Menu

Class VexFlowMeasure

Hierarchy

Index

Constructors

constructor

Properties

Private beams

beams: object

Type declaration

beginInstructionsWidth

beginInstructionsWidth: number

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

Protected boundingBox

boundingBox: BoundingBox

Private connectors

connectors: StaveConnector[] = []

endInstructionsWidth

endInstructionsWidth: number

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

Protected firstInstructionStaffEntry

firstInstructionStaffEntry: GraphicalStaffEntry

formatVoices

formatVoices: function

Type declaration

    • (width: number): void
    • Parameters

      • width: number

      Returns void

hasError

hasError: boolean

Protected lastInstructionStaffEntry

lastInstructionStaffEntry: GraphicalStaffEntry

minimumStaffEntriesWidth

minimumStaffEntriesWidth: number

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

octaveOffset

octaveOffset: number = 3

parentMusicSystem

parentMusicSystem: MusicSystem

parentSourceMeasure

parentSourceMeasure: SourceMeasure

staffEntries

staffEntries: GraphicalStaffEntry[]

staffEntriesScaleFactor

staffEntriesScaleFactor: number

Will be set by music system builder while building systems.

Private stave

stave: Stave

Private tuplets

tuplets: object

Type declaration

vfTies

vfTies: StaveTie[] = []

vfVoices

vfVoices: object

Type declaration

  • [voiceID: number]: Voice

Private vfbeams

vfbeams: object

Type declaration

  • [voiceID: number]: Beam[]

Private vftuplets

vftuplets: object

Type declaration

  • [voiceID: number]: Tuplet[]

Accessors

FirstInstructionStaffEntry

LastInstructionStaffEntry

MeasureNumber

  • get MeasureNumber(): number

ParentStaff

  • get ParentStaff(): Staff

ParentStaffLine

PositionAndShape

Methods

addClefAtBegin

addClefAtEnd

addGraphicalStaffEntry

addGraphicalStaffEntryAtTimestamp

addKeyAtBegin

addRhythmAtBegin

beginsWithLineRepetition

  • beginsWithLineRepetition(): boolean

beginsWithWordRepetition

  • beginsWithWordRepetition(): boolean

clean

  • clean(): void

draw

  • draw(ctx: CanvasContext): void

endsWithLineRepetition

  • endsWithLineRepetition(): boolean

endsWithWordRepetition

  • endsWithWordRepetition(): boolean

finalizeBeams

  • finalizeBeams(): void

finalizeTuplets

  • finalizeTuplets(): void

findGraphicalStaffEntryFromTimestamp

findGraphicalStaffEntryFromVerticalContainerTimestamp

getGraphicalMeasureDurationFromStaffEntries

  • getGraphicalMeasureDurationFromStaffEntries(): Fraction

getLineWidth

getVFStave

  • getVFStave(): Stave

handleBeam

handleTuplet

hasMultipleVoices

  • hasMultipleVoices(): boolean

hasSameDurationWithSourceMeasureParent

  • hasSameDurationWithSourceMeasureParent(): boolean

isVisible

  • isVisible(): boolean

layoutStaffEntry

layoutSymbols

  • layoutSymbols(): void

lineTo

resetLayout

  • resetLayout(): void

setAbsoluteCoordinates

  • setAbsoluteCoordinates(x: number, y: number): void

setPositionInStaffline

  • setPositionInStaffline(xPos: number): void

Private setStaffEntriesXPositions

  • setStaffEntriesXPositions(): void

setWidth

  • setWidth(width: number): void

staffMeasureCreatedCalculations

  • staffMeasureCreatedCalculations(): void

Private updateInstructionWidth

  • updateInstructionWidth(): void

Generated using TypeDoc