blockly >blockRendering >MarkerSvg >positionPrevious_
blockRendering.MarkerSvg.positionPrevious_() 方法
放置上一个连接的标记。会显示一个顶部有一个凹口的半矩形,用来表示之前的连接。
Signature:
protected positionPrevious_(width: number, markerOffset: number, markerHeight: number, connectionShape: Notch): void;
参数
参数 | 类型 | 说明 |
---|---|---|
width | number | 砌块的宽度。 |
markerOffset | number | 标记相对于图块周围的偏移量。 |
markerHeight | number | 标记的高度。 |
connectionShape | 凹口 | 连接的形状对象。 |
返回:
void