blockly > blockRendering > MarkerSvg > positionPrevious_
blockRendering.MarkerSvg.positionPrevious_() 方法
放置上一個連線的標記。顯示半矩形,頂端有凹槽來代表前一個連接。
Signature:
protected positionPrevious_(width: number, markerOffset: number, markerHeight: number, connectionShape: Notch): void;
參數
參數 | 類型 | 說明 |
---|---|---|
width | 號碼 | 區塊的寬度。 |
markerOffset | 號碼 | 標記與區塊周圍的偏移值。 |
markerHeight | 號碼 | 標記的高度。 |
connectionShape | 標準桿 | 連線的形狀物件。 |
傳回:
void