alphaTab.rendering.BeatBounds
Description
Represents the bounds of a single beat.
class BeatBounds
Properties
barBounds | Gets or sets the reference to the parent |
beat | Gets or sets the beat related to this bounds. |
notes | Gets or sets the individual note positions of this beat (if |
onNotesX | Gets or sets x-position where the timely center of the notes for this beat is. |
realBounds | Gets or sets the actual bounds of the elements in this beat including whitespace areas. |
visualBounds | Gets or sets the bounds covering all visually visible elements spanning this beat. |
Methods
addNote(NoteBounds) | Adds a new note to this bounds. |
findNoteAtPos(number, number) | Tries to find a note at the given position. |
finish(number) | Finishes the lookup object and optimizes itself for fast access. |