Interface IReactModule2
interface IReactModule2
Extends IReactModule
Module interface for KeplerScript that extends IReactModule with
typeface registration.
Custom typeface registration is unavailable on platforms that do not expose
this interface; IReactModule provides no equivalent facility. Callers
that support those platforms should query IReactModule for the rest of
the module surface and treat custom typeface registration as unsupported
there.
Methods
getTypefaceRegistry()
Gets the TypefaceRegistry instance for registering and unregistering custom typefaces. The registry is instantiated during application startup. This method may be called from any thread. The returnedITypefaceRegistry*getTypefaceRegistry()
ITypefaceRegistry must be used on the UI thread, as documented on
that interface.
Returns
ITypefaceRegistry*
The ITypefaceRegistry instance.
Throws
BaseError— If the registry is not yet initialized because application startup has not completed.

