Skip to content

Function: configureText() ​

ts
function configureText(config): void;

Experimental

Configure text rendering globally. Must run before the first label is typeset (troika ignores later calls and warns). Does not load the text engine: before it has loaded, the configuration is kept and applied when it loads.

Parameters ​

ParameterType
configTextConfig

Returns ​

void

Released under the MIT License.