C# Класс AlphaTab.Rendering.Utils.AccidentalHelper

This small utilty public class allows the assignment of accidentals within a desired scope.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
AccidentalHelper ( ) : AlphaTab.Collections
ApplyAccidental ( Note note ) : AccidentalType

Calculates the accidental for the given note and assignes the value to it. The new accidental type is also registered within the current scope

GetNoteLine ( Note n ) : int

Приватные методы

Метод Описание
GetNoteId ( Note n ) : string
RegisterNoteLine ( Note n ) : int

Описание методов

AccidentalHelper() публичный Метод

public AccidentalHelper ( ) : AlphaTab.Collections
Результат AlphaTab.Collections

ApplyAccidental() публичный Метод

Calculates the accidental for the given note and assignes the value to it. The new accidental type is also registered within the current scope
public ApplyAccidental ( Note note ) : AccidentalType
note AlphaTab.Model.Note
Результат AccidentalType

GetNoteLine() публичный Метод

public GetNoteLine ( Note n ) : int
n AlphaTab.Model.Note
Результат int