Stay organized with collections
Save and categorize content based on your preferences.
blockly > geras > Renderer > getHighlightConstants
geras.Renderer.getHighlightConstants() method
Get the renderer's highlight constant provider. We assume that when this is called, the renderer has already been initialized.
Signature:
getHighlightConstants(): 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\u003egetHighlightConstants()\u003c/code\u003e method retrieves the highlight constant provider associated with the Geras renderer.\u003c/p\u003e\n"],["\u003cp\u003eThis method is called after the renderer is initialized and returns a \u003ccode\u003eHighlightConstantProvider\u003c/code\u003e object.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eHighlightConstantProvider\u003c/code\u003e object gives access to constants used for highlighting elements in the Blockly workspace using the Geras renderer.\u003c/p\u003e\n"]]],[],null,["[blockly](./blockly.md) \\\u003e [geras](./blockly.geras_namespace.md) \\\u003e [Renderer](./blockly.geras_namespace.renderer_class.md) \\\u003e [getHighlightConstants](./blockly.geras_namespace.renderer_class.gethighlightconstants_1_method.md)\n\ngeras.Renderer.getHighlightConstants() method\n---------------------------------------------\n\nGet the renderer's highlight constant provider. We assume that when this is called, the renderer has already been initialized.\n\n**Signature:** \n\n getHighlightConstants(): HighlightConstantProvider;\n\n**Returns:**\n\n[HighlightConstantProvider](./blockly.geras_namespace.highlightconstantprovider_class.md)\n\nThe highlight constant provider."]]