blockly > geras > Renderer > init

geras.Renderer.init() method

Initialize the renderer. Geras has a highlight provider in addition to the normal constant provider.

Signature:

init(theme: Theme, opt_rendererOverrides?: {
        [rendererConstant: string]: any;
    }): void;

Parameters

Parameter Type Description
theme Theme
opt_rendererOverrides { [rendererConstant: string]: any; } (Optional)

Returns:

void