Skip to main content

Home > blockly > blockRendering > PathObject > addConnectionHighlight

blockRendering.PathObject.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