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)