blockly > blockRendering > MarkerSvg > draw
blockRendering.MarkerSvg.draw() method
Update the marker.
Signature:
draw(oldNode: ASTNode, curNode: ASTNode): void;
Parameters
Parameter | Type | Description |
---|---|---|
oldNode | ASTNode | The previous node the marker was on or null. |
curNode | ASTNode | The node that we want to draw the marker for. |
Returns:
void