getNoteGlyphCode static method
Implementation
static GlyphCode getNoteGlyphCode(Note note) {
if (note.shape == NoteShape.stropha) return GlyphCode.stropha;
if (hasFlag(note.liquescent, LiquescentType.ascending)) {
return GlyphCode.punctumQuadratumAscLiquescent;
} else if (hasFlag(note.liquescent, LiquescentType.descending)) {
return GlyphCode.punctumQuadratumDesLiquescent;
}
if (hasFlag(note.shapeModifiers, NoteShapeModifiers.cavum)) {
return GlyphCode.punctumCavum;
}
return GlyphCode.punctumQuadratum;
}