CalculateBeamY() public méthode

public CalculateBeamY ( float stemSize, float xCorrection, float xPosition, float scale, float>.Func yPosition ) : float
stemSize float
xCorrection float
xPosition float
scale float
yPosition float>.Func
Résultat float
 private float CalculateBeamY(BeamingHelper h, float x)
 {
     var stemSize = GetStemSize(h);
     return h.CalculateBeamY(stemSize, Scale, x, Scale, n => GetScoreY(GetNoteLine(n)));
 }
Exemple #2
0
 private float CalculateBeamY(BeamingHelper h, float x)
 {
     var correction = NoteHeadGlyph.NoteHeadHeight / 2;
     var stemSize = GetStemSize(h.MaxDuration);
     return h.CalculateBeamY(stemSize, Scale, x, Scale, n => GetScoreY(GetNoteLine(n), correction - 1));
 }