blockly > blockRendering > MarkerSvg > positionLine_
blockRendering.MarkerSvg.positionLine_() method
Move and show the marker at the specified coordinate in workspace units. Displays a horizontal line.
Signature:
protected positionLine_(x: number, y: number, width: number): void;
Parameters
Parameter | Type | Description |
---|---|---|
x | number | The new x, in workspace units. |
y | number | The new y, in workspace units. |
width | number | The new width, in workspace units. |
Returns:
void