alphaTab.Environment
Description
This public class represents the global alphaTab environment where alphaTab looks for information like available layout engines staves etc. This public class represents the global alphaTab environment where alphaTab looks for information like available layout engines staves etc.
class Environment
Properties
fontDirectory | |
isRunningInAudioWorklet | |
isRunningInWorker | |
isViteBundled | |
isWebPackBundled | |
renderEngines | |
scriptFile | |
webPlatform |
Methods
buildImporters() | Gets all default ScoreImporters |
enableAlphaSkia(ArrayBuffer, unknown) | Enables the usage of alphaSkia as rendering backend. |
getRenderEngineFactory(string) | |
initializeAudioWorklet() | |
initializeMain((settings: Settings) => Worker, (context: AudioContext, settings: Settings) => Promise<void>) | |
initializeWorker() | |
registerAlphaSkiaCustomFont(Uint8Array, Font | undefined) | Registers a new custom font for the usage in the alphaSkia rendering backend using |
throttle(() => void, number) |