Stay organized with collections
Save and categorize content based on your preferences.
blockly > geras > Renderer > makeHighlightConstants_
geras.Renderer.makeHighlightConstants_() method
Create a new instance of the renderer's highlight constant provider.
Signature:
protected makeHighlightConstants_(): HighlightConstantProvider;
Returns:
HighlightConstantProvider
The highlight constant provider.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eThe \u003ccode\u003emakeHighlightConstants_\u003c/code\u003e method creates a new highlight constant provider for the Geras renderer.\u003c/p\u003e\n"],["\u003cp\u003eThis method is protected and returns a \u003ccode\u003eHighlightConstantProvider\u003c/code\u003e object used for highlighting blocks.\u003c/p\u003e\n"],["\u003cp\u003eThe primary function is to manage and provide constants related to block highlighting within the Geras rendering system.\u003c/p\u003e\n"]]],["The `makeHighlightConstants_()` method, part of the `geras.Renderer` class, creates and returns a new instance of the `HighlightConstantProvider`. This method is protected, meaning it's intended for internal use within the class or its subclasses. The primary action is to instantiate a provider responsible for managing highlight constants. The method returns a `HighlightConstantProvider` object.\n"],null,["[blockly](./blockly.md) \\\u003e [geras](./blockly.geras_namespace.md) \\\u003e [Renderer](./blockly.geras_namespace.renderer_class.md) \\\u003e [makeHighlightConstants_](./blockly.geras_namespace.renderer_class.makehighlightconstants__1_method.md)\n\ngeras.Renderer.makeHighlightConstants_() method\n-----------------------------------------------\n\nCreate a new instance of the renderer's highlight constant provider.\n\n**Signature:** \n\n protected makeHighlightConstants_(): HighlightConstantProvider;\n\n**Returns:**\n\n[HighlightConstantProvider](./blockly.geras_namespace.highlightconstantprovider_class.md)\n\nThe highlight constant provider."]]