blockly > blockRendering > PathObject > addConnectionHighlight
Méthode blockRendering.PathObject.addConnectionHighlight()
Ajoute le chemin d'accès donné en tant que mise en surbrillance de connexion pour la connexion donnée.
Signature :
addConnectionHighlight(connection: RenderedConnection, connectionPath: string, offset: Coordinate, rtl: boolean): void;
Paramètres
Paramètre |
Type |
Description |
connexion |
RenderedConnection |
|
connectionPath |
chaîne |
|
offset |
Coordinate |
|
rtl |
booléen |
|
Renvoie :
vide
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2024/08/21 (UTC).
[null,null,["Dernière mise à jour le 2024/08/21 (UTC)."],[[["The `blockRendering.PathObject.addConnectionHighlight()` method visually highlights a connection on a rendered block using a provided path."],["This method requires a `RenderedConnection` object, a path string, an offset coordinate, and a boolean indicating right-to-left rendering to define the highlight."],["By calling this method, visual cues are added to signify the connection point on the block, enhancing user interaction."]]],[]]