alphaTab.rendering.StaffSystemBounds
Represents the bounds of a staff system.
class StaffSystemBoundsProperties​
bars​
Gets or sets the list of master bar bounds related to this staff system.
- JavaScript
- C#
- Kotlin
bars: MasterBarBounds[];IList<MasterBarBounds> Bars { get; set; }var bars: alphaTab.collections.List<MasterBarBounds>boundsLookup​
Gets or sets a reference to the parent bounds lookup.
- JavaScript
- C#
- Kotlin
index​
Gets or sets the index of the bounds within the parent lookup. This allows fast access of the next/previous system.
- JavaScript
- C#
- Kotlin
index: number;double Index { get; set; }var index: DoublerealBounds​
Gets or sets the actual bounds of the elements in this staff system including whitespace areas.
visualBounds​
Gets or sets the bounds covering all visually visible elements of this staff system.
Methods​
addBar​
Adds a new master bar to this lookup.
- JavaScript
- C#
- Kotlin
addBar(bounds: MasterBarBounds): voidvoid AddBar(MasterBarBounds bounds)fun addBar(bounds: MasterBarBounds): Unit| Parameter | Summary |
|---|---|
boundsAll | The master bar bounds to add. |
findBarAtPos​
Tries to find the master bar bounds that are located at the given X-position.
- JavaScript
- C#
- Kotlin
findBarAtPos(x: number): MasterBarBounds | nullMasterBarBounds? FindBarAtPos(double x)fun findBarAtPos(x: Double): MasterBarBounds?| Parameter | Summary |
|---|---|
xAll | The X-position to find a master bar. |
Returns​
The master bounds at the given X-position.
finish​
Finished 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) |