Stay organized with collections
Save and categorize content based on your preferences.
blockly > blockRendering > Drawer > drawConnectionHighlightPath
blockRendering.Drawer.drawConnectionHighlightPath() method
Returns a path to highlight the given connection.
Signature:
drawConnectionHighlightPath(measurable: Connection): SVGElement | undefined;
Parameters
Returns:
SVGElement | undefined
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 2025-05-16 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 2025-05-16 UTC."],[[["The `drawConnectionHighlightPath` method is part of Blockly's block rendering system and is used to visually highlight a connection point on a block."],["This method takes a `Connection` object as input, which represents the specific connection to be highlighted, and does not return any value."]]],["The `drawConnectionHighlightPath()` method, part of the `blockRendering.Drawer` class, generates a path for highlighting a specified connection. It accepts a single parameter, `measurable`, of type `Connection`, which represents the connection to be highlighted. The method's operation involves creating and returning the highlight path, and it does not have any return value (void).\n"]]