private static MusicFontSymbol GetSymbol(AccentuationType accentuation) { switch (accentuation) { case AccentuationType.None: return MusicFontSymbol.None; case AccentuationType.Normal: return MusicFontSymbol.Accentuation; case AccentuationType.Heavy: return MusicFontSymbol.HeavyAccentuation; default: return MusicFontSymbol.None; } }
private static MusicFontSymbol GetSymbol(AccentuationType accentuation) { switch (accentuation) { case AccentuationType.None: return(MusicFontSymbol.None); case AccentuationType.Normal: return(MusicFontSymbol.Accentuation); case AccentuationType.Heavy: return(MusicFontSymbol.HeavyAccentuation); default: return(MusicFontSymbol.None); } }
public AccentuationGlyph(float x, float y, AccentuationType accentuation) : base(x, y, 1, GetSymbol(accentuation)) { }