blockly > blockRendering > MarkerSvg > showWithOutput_
Méthode blockRendering.MarkerSvg.showWithOutput_()
Positionnez et affichez le repère d'une connexion de sortie.
Signature :
protected showWithOutput_(curNode: ASTNode): void;
Paramètres
Paramètre |
Type |
Description |
curNode |
ASTNode |
Nœud pour lequel le repère doit être dessiné. |
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/09/09 (UTC).
[null,null,["Dernière mise à jour le 2024/09/09 (UTC)."],[[["`markerSvg_` is a protected property of the `MarkerSvg` class within Blockly's block rendering namespace."],["It stores the root SVG group element that contains the visual representation of the marker, and may be null."],["This property is primarily used internally by Blockly for rendering and managing connection markers on blocks."]]],["The `showWithOutput_` method, part of the `MarkerSvg` class within the `blockRendering` namespace, is responsible for positioning and displaying a marker on an output connection. It accepts an `ASTNode` (`curNode`) as a parameter, which represents the node for which the marker will be drawn. The method's execution does not return any value (void). The main action performed by the method is to draw the marker for a specified output connection node.\n"]]