Options
All
  • Public
  • Public/Protected
  • All
Menu

Class VexFlowMusicSystem

Hierarchy

Index

Constructors

constructor

Properties

Protected boundingBox

boundingBox: BoundingBox

Protected graphicalComments

graphicalComments: GraphicalComment[] = []

Protected graphicalMarkedAreas

graphicalMarkedAreas: GraphicalMarkedArea[] = []

Protected graphicalMeasures

graphicalMeasures: GraphicalMeasure[][] = []

Protected groupBrackets

groupBrackets: GraphicalObject[] = []

Protected id

id: number

Protected instrumentBrackets

instrumentBrackets: GraphicalObject[] = []

Protected labels

labels: Dictionary<Instrument, GraphicalLabel> = new Dictionary<Instrument, GraphicalLabel>()

Dictionary of (Instruments and) labels. note that the key needs to be unique, GraphicalLabel is not unique yet. That is why the labels are labels.values() and not labels.keys().

Protected maxLabelLength

maxLabelLength: number

Protected measureNumberLabels

measureNumberLabels: GraphicalLabel[] = []

needsToBeRedrawn

needsToBeRedrawn: boolean = true

Protected objectsToRedraw

objectsToRedraw: [Object[], Object][] = []

Protected parent

Protected rules

Protected staffLines

staffLines: StaffLine[] = []

Protected systemLines

systemLines: SystemLine[] = []

Accessors

GraphicalComments

GraphicalMarkedAreas

GraphicalMeasures

GroupBrackets

Id

  • get Id(): number

InstrumentBrackets

Labels

MeasureNumberLabels

NextSystem

ObjectsToRedraw

  • get ObjectsToRedraw(): [Object[], Object][]

Parent

PositionAndShape

StaffLines

SystemLines

Methods

AddGraphicalMeasures

GetLeftBorderAbsoluteXPosition

  • GetLeftBorderAbsoluteXPosition(): number

GetRightBorderAbsoluteXPosition

  • GetRightBorderAbsoluteXPosition(): number

GetSystemsFirstTimeStamp

GetSystemsLastTimeStamp

alignBeginInstructions

  • alignBeginInstructions(): void

Protected calcBracketsWidth

  • calcBracketsWidth(): number

calculateBorders

checkStaffEntriesForStaffEntryLink

  • checkStaffEntriesForStaffEntryLink(): boolean

Protected createGroupBracket

  • createGroupBracket(firstStaffLine: StaffLine, lastStaffLine: StaffLine, recursionDepth: number): void
  • creates an instrument group bracket for the given dimension. There can be cascaded bracket (e.g. a group of 2 in a group of 4) - The recursion depth informs about the current depth level (needed for positioning)

    Parameters

    • firstStaffLine: StaffLine

      the upper staff line of the bracket to create

    • lastStaffLine: StaffLine

      the lower staff line of the bracket to create

    • recursionDepth: number

    Returns void

createGroupBrackets

  • createGroupBrackets(instrumentGroups: InstrumentalGroup[], staffHeight: number, recursionDepth: number): void

Protected createInstrumentBracket

createInstrumentBrackets

  • createInstrumentBrackets(instruments: Instrument[], staffHeight: number): void

Protected createLinesForSystemLine

  • createLinesForSystemLine(systemLine: SystemLine): void

createMusicSystemLabel

  • createMusicSystemLabel(instrumentLabelTextHeight: number, systemLabelsRightMargin: number, labelMarginBorderFactor: number): void

createSystemLeftLine

  • createSystemLeftLine(lineWidth: number, systemLabelsRightMargin: number): void

Protected createSystemLine

createVerticalLineForMeasure

getBottomStaffLine

setMusicSystemLabelsYPosition

  • setMusicSystemLabelsYPosition(): void

setYPositionsToVerticalLineObjectsAndCreateLines

  • setYPositionsToVerticalLineObjectsAndCreateLines(rules: EngravingRules): void

Generated using TypeDoc