blockly > blockRendering > MarkerSvg > showWithCoordinates_
Metoda blockRendering.MarkerSvg.showWithCoordinates_()
Ustaw i wyświetl znacznik współrzędnej obszaru roboczego. To jest linia pozioma.
Podpis:
protected showWithCoordinates_(curNode: ASTNode): void;
Parametry
Parametr |
Typ |
Opis |
curNode |
ASTNode |
Węzeł, dla którego rysowany jest znacznik. |
Zwroty:
nieważne
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2024-08-22 UTC.
[null,null,["Ostatnia aktualizacja: 2024-08-22 UTC."],[[["The `blockRendering.MarkerSvg.showWithCoordinates_` method positions and displays a horizontal line marker for a given workspace coordinate."],["This method is primarily used for visually indicating the position of an ASTNode within the workspace."],["It accepts a single parameter, `curNode`, which represents the ASTNode for which the marker is displayed."],["The method does not return any value and operates by directly manipulating the marker's position and visibility."]]],["The `showWithCoordinates_()` method within the `blockRendering.MarkerSvg` class is used to position and display a marker (a horizontal line) at a specified workspace coordinate. It takes an `ASTNode` as a parameter (`curNode`), which represents the node where the marker should be drawn. The method's purpose is to visually represent a location in the workspace, and it returns no value.\n"]]