סקר מחקר: נשמח לשמוע על החוויה שלך עם Blockly
לפתיחת הסקר
קל לארגן דפים בעזרת אוספים
אפשר לשמור ולסווג תוכן על סמך ההעדפות שלך.
blockly > blockRendering > PathObject > addConnectionHighlight
השיטה blockRendering.PathObject.addConnectionHighlight()
הוספת הנתיב הנתון כסימון חיבור לחיבור הנתון.
Signature:
addConnectionHighlight(connection: RenderedConnection, connectionPath: string, offset: Coordinate, rtl: boolean): SVGElement;
פרמטרים
פרמטר |
סוג |
תיאור |
חיבור |
RenderedConnection |
|
connectionPath |
מחרוזת |
|
לקזז |
תיאום |
|
rtl |
בוליאני |
|
החזרים:
SVGElement
אלא אם צוין אחרת, התוכן של דף זה הוא ברישיון Creative Commons Attribution 4.0 ודוגמאות הקוד הן ברישיון Apache 2.0. לפרטים, ניתן לעיין במדיניות האתר Google Developers. Java הוא סימן מסחרי רשום של חברת Oracle ו/או של השותפים העצמאיים שלה.
עדכון אחרון: 2025-05-16 (שעון UTC).
[[["התוכן קל להבנה","easyToUnderstand","thumb-up"],["התוכן עזר לי לפתור בעיה","solvedMyProblem","thumb-up"],["סיבה אחרת","otherUp","thumb-up"]],[["חסרים לי מידע או פרטים","missingTheInformationINeed","thumb-down"],["התוכן מורכב מדי או עם יותר מדי שלבים","tooComplicatedTooManySteps","thumb-down"],["התוכן לא עדכני","outOfDate","thumb-down"],["בעיה בתרגום","translationIssue","thumb-down"],["בעיה בדוגמאות/בקוד","samplesCodeIssue","thumb-down"],["סיבה אחרת","otherDown","thumb-down"]],["עדכון אחרון: 2025-05-16 (שעון UTC)."],[[["The `blockRendering.PathObject.addConnectionHighlight()` method visually highlights a connection on a rendered block using a provided path."],["This method requires a `RenderedConnection` object, a path string, an offset coordinate, and a boolean indicating right-to-left rendering to define the highlight."],["By calling this method, visual cues are added to signify the connection point on the block, enhancing user interaction."]]],[]]