Skip to main content

alphaTab.rendering.ScoreRenderer

This is the main wrapper of the rendering engine which can render a single track of a score object into a notation sheet.

 class ScoreRenderer implements IScoreRenderer

Properties​

boundsLookup​

(no description)

boundsLookup: BoundsLookup | null;

canvas​

(no description)

canvas: ICanvas | null;

error​

(no description)

readonly error: IEventEmitterOfT<Error>;

partialLayoutFinished​

(no description)

readonly partialLayoutFinished: IEventEmitterOfT<RenderFinishedEventArgs>;

partialRenderFinished​

(no description)

readonly partialRenderFinished: IEventEmitterOfT<RenderFinishedEventArgs>;

postRenderFinished​

(no description)

readonly postRenderFinished: IEventEmitter;

preRender​

(no description)

readonly preRender: IEventEmitterOfT<boolean>;

renderFinished​

(no description)

score​

(no description)

score: Score | null;

settings​

(no description)

settings: Settings;

tracks​

(no description)

tracks: Track[] | null;

width​

(no description)

width: number;

Methods​

destroy​

(no description)

destroy(): void

render​

(no description)

render(renderHints?: RenderHints): void
ParameterSummary
renderHintsAll

(no description)

renderResult​

(no description)

renderResult(resultId: string): void
ParameterSummary
resultIdAll

(no description)

renderScore​

(no description)

renderScore(score: Score | null, trackIndexes: number[] | null, renderHints?: RenderHints): void
ParameterSummary
scoreAll

(no description)

trackIndexesAll

(no description)

renderHintsAll

(no description)

renderTracks​

Initiates rendering fof the given tracks.

renderTracks(tracks: Track[]): void
ParameterSummary
tracksAll

The tracks to render.

resizeRender​

(no description)

resizeRender(): void

updateSettings​

(no description)

updateSettings(settings: Settings): void
ParameterSummary
settingsAll

(no description)