C# Class AlphaTab.Rendering.Utils.AccidentalHelper

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

Public Methods

Method 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

Method Description
GetNoteId ( Note n ) : string
RegisterNoteLine ( Note n ) : int

Method Details

AccidentalHelper() public method

public AccidentalHelper ( ) : AlphaTab.Collections
return AlphaTab.Collections

ApplyAccidental() public method

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
return AccidentalType

GetNoteLine() public method

public GetNoteLine ( Note n ) : int
n AlphaTab.Model.Note
return int