TimeSignature class
Internal representation of a MusicXML time signature. Does not support:
- Composite time signatures: 3+2/8
- Alternating time signatures 2/4 + 3/8
- Senza misura
Constructors
- TimeSignature({required int divisions, int numerator = -1, int denominator = -1, double timePosition = 0})
- TimeSignature.parse(MusicXMLParserState state, [XmlElement? xmlTime])
-
Parse the MusicXML
factory
Properties
- beats → int
-
no setter
- beatType → int
-
no setter
- denominator ↔ int
-
getter/setter pair
- divisions ↔ int
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- numerator ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- timePosition ↔ double
-
getter/setter pair
Methods
-
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