Interface BeatBasedBarRenderer


public interface BeatBasedBarRenderer
A BarRenderer who displays events based on beat position within a bar must implements this interface.
  • Method Details

    • getTimeSignature

      TimeSignature getTimeSignature()
      The TimeSignature for this bar.
      Returns:
    • getPositionFromPoint

      Position getPositionFromPoint(int x)
      Parameters:
      x - int The x coordinate within this bar.
      Returns:
      Position The leadsheet position which corresponds to the x coordinate.