ProtectedboundingProtectedgraphicalProtectedgraphicalProtectedgraphicalProtectedgroupProtectedgroupProtectedidProtectedinstrumentProtectedlabelsDictionary 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().
ProtectedmaxProtectedmeasureProtectedobjectsProtectedparentProtectedstaffProtectedsystemProtectedcalcCalculates the summed x-width of a possibly given Instrument Brace and/or Group Bracket(s).
the x-width
Check if two "adjacent" StaffLines have BOTH a StaffEntry with a StaffEntryLink. This is needed for the y-spacing algorithm.
Protectedcreatecreates an instrument group bracket for the given dimension. There can be cascaded brackets (e.g. a group of 2 in a group of 4): a nested group's bracket stands in the next column left of the outer group's (EngravingRules.GroupBracketColumnDistance), as does the brace of a multi-staff part inside the group (a brace is the outermost symbol, Gould, Behind Bars, p. 516; MuseScore and Dorico draw it so).
the upper staff line of the bracket to create
the lower staff line of the bracket to create
the column of the bracket left of the staves, 0 beside them
the symbol to draw: bracket, brace, square (a thin line with right-angled hooks) or line
Create a GroupBracket for each [[InstrumentalGroup]] with a group symbol (MusicXML group-symbol: a group without one draws nothing), and for the groups nested in it, which stand a column further left (EngravingRules.GroupBracketColumnDistance).
the column of the brackets, left of the staves: 0 beside the staves, 1 for the groups nested in a bracketed group, and so on (the brackets drawn around the groups)
Protectedcreatecreates an instrument brace for the given dimension. The height and positioning can be inferred from the given staff lines.
Create an InstrumentBracket for each multiStave Instrument.
ProtectedcreateCreate all the graphical lines and dots needed to render a system line (e.g. bold-thin-dots..).
Create the system's labels left of its staves: the part names on the first system, the part abbreviations on later systems, and the names or abbreviations of part groups. Labels created before are replaced.
other labels than the default ones, e.g. when the part names leave the system's measures too little room (see EngravingRules.FitPartLabelsToMeasures)
ProtectedcreateThis method creates all the graphical lines and dots needed to render a system line (e.g. bold-thin-dots..).
indicates if the line belongs to start or end of measure
Create the vertical Lines after the End of all [[StaffLine]]'s Measures
indicates if the line belongs to start or end of measure
the measure index within the staffline
ProtectedgroupA bracket, square bracket or line stands 5 px left of the staves, a brace 14 px (VexFlow's StaveConnector); each column a GroupBracketColumnDistance further left.
Returns whether this object is an instance of the class, e.g. isInstanceOfClass(GraphicalMeasure).
The class, or its name (e.g. GraphicalMeasure.name). A name is unreliable in minified builds: they rename the classes, and give different classes the same name, e.g. "a" to GraphicalMeasure and GraphicalNote.
ProtectedpartHow far left of the staves a part's brace reaches in the given column, in units.
Set the Y-Positions for the MusicSystem's Labels.
Set the y-Positions of all the system lines in the system and creates the graphical Lines and dots within.
A MusicSystem contains the [[StaffLine]]s for all instruments, until a line break