alphaTab.rendering.BoundsLookup
(no description)
class BoundsLookupPropertiesโ
isFinishedโ
Gets or sets a value indicating whether this lookup was finished already.
- JavaScript
- C#
- Kotlin
isFinished: boolean;bool IsFinished { get; set; }var isFinished: BooleanstaffSystemsโ
Gets a list of all individual staff systems contained in the rendered music notation.
- JavaScript
- C#
- Kotlin
staffSystems: StaffSystemBounds[];IList<StaffSystemBounds> StaffSystems { get; set; }var staffSystems: alphaTab.collections.List<StaffSystemBounds>Methodsโ
addBeatโ
Adds a new beat to the lookup.
- JavaScript
- C#
- Kotlin
addBeat(bounds: BeatBounds): voidvoid AddBeat(BeatBounds bounds)fun addBeat(bounds: BeatBounds): Unit| Parameter | Summary |
|---|---|
boundsAll | The beat bounds to add. |
addMasterBarโ
Adds a new master bar to the lookup.
- JavaScript
- C#
- Kotlin
addMasterBar(bounds: MasterBarBounds): voidvoid AddMasterBar(MasterBarBounds bounds)fun addMasterBar(bounds: MasterBarBounds): Unit| Parameter | Summary |
|---|---|
boundsAll | The master bar bounds to add. |
addStaffSystemโ
Adds a new staff sytem to the lookup.
- JavaScript
- C#
- Kotlin
addStaffSystem(bounds: StaffSystemBounds): voidvoid AddStaffSystem(StaffSystemBounds bounds)fun addStaffSystem(bounds: StaffSystemBounds): Unit| Parameter | Summary |
|---|---|
boundsAll | The staff system bounds to add. |
findBeatโ
Tries to find the bounds of a given beat.
- JavaScript
- C#
- Kotlin
findBeat(beat: Beat): BeatBounds | nullBeatBounds? FindBeat(Beat beat)fun findBeat(beat: Beat): BeatBounds?| Parameter | Summary |
|---|---|
beatAll | The beat to find. |
Returnsโ
The beat bounds if it was rendered, or null if no boundary information is available.
findBeatsโ
Tries to find the bounds of a given beat.
- JavaScript
- C#
- Kotlin
findBeats(beat: Beat): BeatBounds[] | nullIList<BeatBounds>? FindBeats(Beat beat)fun findBeats(beat: Beat): alphaTab.collections.List<BeatBounds>?| Parameter | Summary |
|---|---|
beatAll | The beat to find. |
Returnsโ
The beat bounds if it was rendered, or null if no boundary information is available.
findMasterBarโ
Tries to find the master bar bounds by a given master bar.
- JavaScript
- C#
- Kotlin
findMasterBar(bar: MasterBar): MasterBarBounds | nullMasterBarBounds? FindMasterBar(MasterBar bar)fun findMasterBar(bar: MasterBar): MasterBarBounds?| Parameter | Summary |
|---|---|
barAll | The master bar to find. |
Returnsโ
The master bar bounds if it was rendered, or null if no boundary information is available.
findMasterBarByIndexโ
Tries to find the master bar bounds by a given index.
- JavaScript
- C#
- Kotlin
findMasterBarByIndex(index: number): MasterBarBounds | nullMasterBarBounds? FindMasterBarByIndex(double index)fun findMasterBarByIndex(index: Double): MasterBarBounds?| Parameter | Summary |
|---|---|
indexAll | The index of the master bar to find. |
Returnsโ
The master bar bounds if it was rendered, or null if no boundary information is available.
finishโ
Finishes the lookup for optimized access.
- JavaScript
- C#
- Kotlin
finish(scale?: number): voidvoid Finish(double? scale)fun finish(scale: Double?): Unit| Parameter | Summary |
|---|---|
scaleAll | (no description) |
fromJsonโ
(no description)
- JavaScript
- C#
- Kotlin
static fromJson(json: Map<string, unknown> | null, score: Score): BoundsLookup | nullstatic BoundsLookup? FromJson(Map<string, object>? json, Score score)fun fromJson(json: alphaTab.collections.StringAnyMap<String, Any>?, score: Score): BoundsLookup?| Parameter | Summary |
|---|---|
jsonAll | (no description) |
scoreAll | (no description) |
getBeatAtPosโ
Tries to find a beat at the given absolute position.
| Parameter | Summary |
|---|---|
xAll | The absolute X-position of the beat to find. |
yAll | The absolute Y-position of the beat to find. |
Returnsโ
The beat found at the given position or null if no beat could be found.
getNoteAtPosโ
Tries to find the note at the given position using the given beat for fast access.
Use findBeat to find a beat for a given position first.
| Parameter | Summary |
|---|---|
beatAll | The beat containing the note. |
xAll | The X-position of the note. |
yAll | The Y-position of the note. |
Returnsโ
The note at the given position within the beat.
toJsonโ
(no description)
- JavaScript
- C#
- Kotlin
toJson(): Map<string, unknown>Map<string, object> ToJson()fun toJson(): alphaTab.collections.StringAnyMap<String, Any>