OpenSheetMusicDisplay
    Preparing search index...

    Class VexFlowMusicSystem

    A MusicSystem contains the [[StaffLine]]s for all instruments, until a line break

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    boundingBox: BoundingBox
    breaksPage: boolean = false
    graphicalComments: GraphicalComment[] = []
    graphicalMarkedAreas: GraphicalMarkedArea[] = []
    graphicalMeasures: GraphicalMeasure[][] = []
    groupBrackets: GraphicalObject[] = []
    id: number
    instrumentBrackets: GraphicalObject[] = []
    labels: 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().

    maxLabelLength: number
    measureNumberLabels: GraphicalLabel[] = []
    needsToBeRedrawn: boolean = true
    objectsToRedraw: [Object[], Object][] = []
    staffLines: StaffLine[] = []
    systemLines: SystemLine[] = []

    Accessors

    Methods

    • 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

    • Create the Instrument's Labels (only for the first [[MusicSystem]] of the first MusicPage).

      Parameters

      • instrumentLabelTextHeight: number
      • systemLabelsRightMargin: number
      • labelMarginBorderFactor: number
      • isFirstSystem: boolean = false

      Returns void

    • Create the left vertical Line connecting all staves of the [[MusicSystem]].

      Parameters

      • lineWidth: number
      • systemLabelsRightMargin: number
      • isFirstSystem: boolean

      Returns void