The clef of the first note of the measure (the clef the measure starts with).
Used to show key, rhythm changes at the end of the system, has MeasureNumber < 0, because never set.
The x-width of possibly existing: repetition start line, clef, key, rhythm.
The x-width of possibly existing: repetition end line, clef.
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.
The minimum possible x-width of all staff entries without overlapping.
Will be set by music system builder while building systems.
Add the given clef to the begin of the measure. This has to update/increase BeginInstructionsWidth.
Add the given clef to the end of the measure. This has to update/increase EndInstructionsWidth.
Add a [[StaffEntry]] (along with its BoundingBox) to the current Measure.
Add the given key to the begin of the measure. This has to update/increase BeginInstructionsWidth.
The new valid key.
The old cancelled key. Needed to show which accidentals are not valid any more.
The valid clef. Needed to put the accidentals on the right y-positions.
Add the given rhythm to the begin of the measure. This has to update/increase BeginInstructionsWidth.
Check if a Repetition starts at the next Measure.
Check if this Measure is a Repetition Ending.
Check if this Measure is a Repetition Ending.
Iterate from start to end and find the GraphicalStaffEntry with the same absolute timestamp.
Return the x-width of a given measure line.
Check a whole [[Measure]] for the presence of multiple Voices (used for Stem direction).
Check if the all the GraphicalMeasure's [[StaffEntry]]s (their minimum Length) have the same duration with the SourceMeasure.
This method is called after the StaffEntriesScaleFactor has been set. Here the final x-positions of the staff entries have to be set. (multiply the minimal positions with the scaling factor, considering the BeginInstructionsWidth).
Reset all the geometric values and parameters of this measure and put it in an initialized state. This is needed to evaluate a measure a second time by system builder.
Set the x-position relative to the staffline (y-Position is always 0 relative to the staffline).
Set the overall x-width of the measure.
Generated using TypeDoc
Represents a measure in the music sheet (one measure in one staff line)