KeySignature class

Representa a armadura de clave.

count usa convenção MEI: positivo = sustenidos, negativo = bemóis. mode corresponde ao atributo @mode de <staffDef> no MEI v5.

Inheritance

Constructors

KeySignature(int count, {int? previousCount, KeyMode? mode})

Properties

count int
Número de sustenidos (positivo) ou bemóis (negativo).
final
hashCode int
The hash code for this object.
no setterinherited
mode KeyMode?
Modo tonal associado à armadura (MEI @mode). null equivale a KeyMode.none.
final
previousCount int?
Contagem da armadura anterior (para renderizar naturais de cancelamento). Positivo = sustenidos anteriores, negativo = bemóis anteriores. null = nenhum cancelamento necessário.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
xmlId String?
Identificador único MEI (xml:id). Opcional; necessário para elementos referenciados por outros via atributos de ligação do MEI v5.
getter/setter pairinherited

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