Skip to main content

Home > 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

ParameterTypeDescription
connectionRenderedConnection
connectionPathstring
offsetCoordinate
rtlboolean

Returns:

SVGElement