C# Class AlphaTab.Rendering.Utils.AccidentalHelper

This small utilty public class allows the assignment of accidentals within a desired scope.
Afficher le fichier Open project: CoderLine/alphaTab Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
GetNoteId ( Note n ) : string
RegisterNoteLine ( Note n ) : int

Method Details

AccidentalHelper() public méthode

public AccidentalHelper ( ) : AlphaTab.Collections
Résultat AlphaTab.Collections

ApplyAccidental() public méthode

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
Résultat AccidentalType

GetNoteLine() public méthode

public GetNoteLine ( Note n ) : int
n AlphaTab.Model.Note
Résultat int