Koleksiyonlar ile düzeninizi koruyun
İçeriği tercihlerinize göre kaydedin ve kategorilere ayırın.
blockly > blockRendering > IPathObject > addConnectionHighlight
blockRendering.IPathObject.addConnectionHighlight() yöntemi
Belirtilen yolu, ilgili bağlantının öne çıkan özelliği olarak ekler.
İmza:
addConnectionHighlight?(connection: RenderedConnection, connectionPath: string, offset: Coordinate, rtl: boolean): SVGElement;
Parametreler
Parametre |
Tür |
Açıklama |
bağlantı |
RenderedConnection |
|
connectionPath |
dize |
|
ofset |
Koordinat |
|
rtl |
boolean |
|
İadeler:
SVGElement
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-05-16 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-05-16 UTC."],[[["The `addConnectionHighlight` method visually highlights a connection on a rendered block using a specified path."],["This method requires the connection to highlight, the path to use for highlighting, an offset for positioning, and an RTL (right-to-left) flag."],["The method belongs to the `IPathObject` interface within Blockly's block rendering namespace."],["The highlight is applied by adding the specified path to the connection."],["Its return type is `void`, indicating that it does not return any value upon execution."]]],["The `addConnectionHighlight()` method, part of the `IPathObject` interface, adds a connection highlight. It takes a `RenderedConnection`, a `connectionPath` (string), a `Coordinate` offset, and a boolean `rtl` (right-to-left) parameter. This method visually highlights a connection by adding the provided `connectionPath`, positioned according to the given offset, for a specific `RenderedConnection`. The `rtl` parameter manages the highlight direction, and the method does not return a value.\n"]]