IScoreRenderer Interface

Summary

Represents the public interface of the component that can render scores.
Namespace
AlphaTab.Rendering
Implementing Types
graph TD Type["IScoreRenderer"] class Type type-node Type-.->Implementing0["ScoreRenderer"] click Implementing0 "/master/api/AlphaTab.Rendering/ScoreRenderer"

Syntax

public interface IScoreRenderer

Events

Name Type Summary
Error Action<T1, T2>
Occurs whenever an error happens.
PartialRenderFinished Action<T>
Occurs whenever a part of the whole music sheet is rendered and can be displayed.
PostRenderFinished Action
Occurs when the whole rendering and layout process finished.
PreRender Action<T>
Occurs before the rendering of the tracks starts.
RenderFinished Action<T>
Occurs after the rendering of the tracks finished.

Properties

Name Value Summary
BoundsLookup BoundsLookup
Gets or sets the lookup which allows fast access to beats at a given position.

Methods

Name Value Summary
Destroy() void
Destroys the renderer.
Invalidate() void
Invalidates the drawn music sheet and initiates a redraw.
Render(Score, int[]) void
Initiates the rendering of the specified tracks of the given score.
Resize(int) void
Triggers a relayout to the given size including redrawing.
UpdateSettings(Settings) void
Updates the settings to the given object.