Segment

inherits Element
A segment holds all vertical aligned staff elements. Segments are typed and contain only Elements of the same type.

Methods

Ms::Element elementAt(int track)

Properties

nextMs::Segment the next segment in the whole score; null at last score segment (read-only)
nextInMeasureMs::Segment the next segment in measure; null at last measure segment (read-only)
prevMs::Segment the previous segment in the whole score; null at first score segment (read-only)
prevInMeasureMs::Segment the previous segment in measure; null at first measure segment (read-only)
segmentTypeMs::Segment::Type (Invalid, Clef, KeySig, Ambitus, TimeSig, StartRepeatBarLine, BarLine, ChordRest, Breath, EndBarLine TimeSigAnnounce, KeySigAnnounce, All)
tickint midi tick position (read only)
annotationsarray[Ms::Element] the list of annotations (read only)