blockly > blockRendering > MarkerSvg > positionPrevious_

blockRendering.MarkerSvg.positionPrevious_() method

Position the marker for a previous connection. Displays a half rectangle with a notch in the top to represent the previous connection.

Signature:

protected positionPrevious_(width: number, markerOffset: number, markerHeight: number, connectionShape: Notch): void;

Parameters

Parameter Type Description
width number The width of the block.
markerOffset number The offset of the marker from around the block.
markerHeight number The height of the marker.
connectionShape Notch The shape object for the connection.

Returns:

void