alphaTab.rendering.RenderHints
Additional hints which should be respected during layout and rendering of the score.
interface RenderHintsProperties​
firstChangedMasterBar​
Indicates the index of the first masterbar which was modified in the data model. AlphaTab will try to optimize the rendering and other updates to keep unchanged parts. At this point only the rendering is affected and the generated MIDI has to be updated separately.
- JavaScript
- C#
- Kotlin
firstChangedMasterBar?: number;double FirstChangedMasterBar { get; set; }var firstChangedMasterBar: DoublereuseViewport​
A value indicating whether the currently rendered viewport can be reused when rendering the score. Set this property to true in cases of live-editing where the rendered score changes from an object perspective, but remains the similar from a content perspective. This way the visual update will appear more smooth than a full clearing.
internally it might still be decided to clear the viewport.
- JavaScript
- C#
- Kotlin
reuseViewport?: boolean;bool ReuseViewport { get; set; }var reuseViewport: Boolean