Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
blockly > blockRendering > PathObject > updateHighlighted
blockRendering.PathObject.updateVurgued() yöntemi
Blokun vurgu gösterip göstermeyeceğini ayarlayın. Blok vurgulama, genellikle yürütmekte olan blokları görsel olarak işaretlemek için kullanılır.
İmza:
updateHighlighted(enable: boolean): void;
Parametreler
Parametre |
Tür |
Açıklama |
enable |
boolean |
Vurgulanmışsa doğru değerini döndürür. |
Şunu döndürür:
geçersiz
Aksi belirtilmediği sürece bu sayfanın içeriği Creative Commons Atıf 4.0 Lisansı altında ve kod örnekleri Apache 2.0 Lisansı altında lisanslanmıştır. Ayrıntılı bilgi için Google Developers Site Politikaları'na göz atın. Java, Oracle ve/veya satış ortaklarının tescilli ticari markasıdır.
Son güncelleme tarihi: 2025-07-25 UTC.
[[["Anlaması kolay","easyToUnderstand","thumb-up"],["Sorunumu çözdü","solvedMyProblem","thumb-up"],["Diğer","otherUp","thumb-up"]],[["İhtiyacım olan bilgiler yok","missingTheInformationINeed","thumb-down"],["Çok karmaşık / çok fazla adım var","tooComplicatedTooManySteps","thumb-down"],["Güncel değil","outOfDate","thumb-down"],["Çeviri sorunu","translationIssue","thumb-down"],["Örnek veya kod sorunu","samplesCodeIssue","thumb-down"],["Diğer","otherDown","thumb-down"]],["Son güncelleme tarihi: 2025-07-25 UTC."],[],["The `updateHighlighted` method in `blockRendering.PathObject` controls a block's highlight state. It takes a boolean parameter, `enable`. When `enable` is set to `true`, the block is visually highlighted, commonly indicating execution. When `enable` is `false`, the highlight is removed. The method does not return a value. This highlighting feature is used to show a visual marker for the active or executed blocks.\n"]]