Exemple #1
0
 protected override float GetStartX(BarRendererBase noteRenderer)
 {
     if (StartBeat.IsRest)
     {
         return(noteRenderer.GetBeatX(StartBeat));
     }
     else
     {
         return(noteRenderer.GetNoteX(StartBeat.MinNote));
     }
 }
Exemple #2
0
 protected override float GetEndX(BarRendererBase noteRenderer)
 {
     if (EndBeat.IsRest)
     {
         return(noteRenderer.GetBeatX(EndBeat));
     }
     else
     {
         return(noteRenderer.GetNoteX(EndBeat.MinNote, false));
     }
 }
Exemple #3
0
 protected override float GetEndX(BarRendererBase noteRenderer)
 {
     return(noteRenderer.GetNoteX(_endNote, false));
 }
Exemple #4
0
 protected override float GetStartX(BarRendererBase noteRenderer)
 {
     return(noteRenderer.GetNoteX(_startNote));
 }