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): void;

Parameters

Parameter Type Description
connection RenderedConnection
connectionPath string
offset Coordinate
rtl boolean

Returns:

void