ScoreDefinition class
Definition global de partitura, correspwherendo to the elemento <scoreDef>
of the MEI v5.
<scoreDef> centraliza informações that if Appliesm a toda a partitura
no start de a <section> or after a mudança global, evitando repetir
as same definitions in each <staffDef>.
ScoreDefinition(
clef: Clef(clefType: ClefType.treble),
keySignature: KeySignature(0),
timeSignature: TimeSignature(numerator: 4, denominator: 4),
tempo: TempoMark(beatUnit: DurationType.quarter, bpm: 120, text: 'Allegro'),
)
Constructors
- ScoreDefinition({Clef? clef, KeySignature? keySignature, TimeSignature? timeSignature, TempoMark? tempo, Dynamic? dynamic, int defaultStaffLines = 5, bool accidentalsAbove = true, String? xmlId})
-
const
Properties
- accidentalsAbove → bool
-
Direction default dos accidentals above the staff.
final
- clef → Clef?
-
Clef default for all as staves (can be sobreposta by
<staffDef>).final - defaultStaffLines → int
-
Number de lines default for all as staves (normally 5).
Correspwhere a
@linesin<staffDef>.final - dynamic → Dynamic?
-
Dynamic initial.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- keySignature → KeySignature?
-
Armadura de clef global.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tempo → TempoMark?
-
Indicação de tempo (tempo).
final
- timeSignature → TimeSignature?
-
Fórmula de measure global.
final
- xmlId → String?
-
Identificador único MEI (
xml:id).final
Methods
-
copyWith(
{Clef? clef, KeySignature? keySignature, TimeSignature? timeSignature, TempoMark? tempo, Dynamic? dynamic, int? defaultStaffLines, bool? accidentalsAbove, String? xmlId}) → ScoreDefinition -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited