blockly > blockRendering > PathObject > addConnectionHighlight
blockRendering.PathObject.addConnectionHighlight() 方法
將指定路徑新增為指定連線的連線醒目顯示項目。
Signature:
addConnectionHighlight(connection: RenderedConnection, connectionPath: string, offset: Coordinate, rtl: boolean): SVGElement;
參數
| 參數 | 類型 | 說明 |
|---|---|---|
| 連結 | RenderedConnection | |
| connectionPath | 字串 | |
| 碳補償 | 座標 | |
| rtl | 布林值 |
退貨:
SVGElement