blockly > blockRendering > Mechanizm renderowania > shouldHighlightConnection
Metoda blockRendering.Renderer.MusicHighlightConnection()
Określ, czy należy wyróżnić połączenie.
Podpis:
shouldHighlightConnection(_conn: Connection): boolean;
Parametry
Parametr |
Typ |
Opis |
_conn |
Połączenie |
Połączenie decyduje o tym, czy wyróżnić. |
Zwroty:
wartość logiczna
Prawda, jeśli powinniśmy wyróżniać połączenie.
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-21 UTC.
[null,null,["Ostatnia aktualizacja: 2024-08-21 UTC."],[[["The `blockRendering.Renderer.shouldHighlightConnection()` method determines whether a given connection should be highlighted."],["It takes a `Connection` object as input, representing the connection to evaluate for highlighting."],["The method returns `true` if the connection should be highlighted, otherwise `false`."]]],[]]