blockly > blockRendering > IPathObject > addConnectionHighlight
blockRendering.IPathObject.addConnectionHighlight() method
Adds the given path as a connection highlight for the given connection.
Signature:
addConnectionHighlight?(connection: RenderedConnection, connectionPath: string, offset: Coordinate, rtl: boolean): SVGElement;
Parameters
Parameter | Type | Description |
|---|---|---|
connection | RenderedConnection | |
connectionPath | string | |
offset | ||
rtl | boolean |
Returns:
SVGElement