blockly > comments > RenderedWorkspaceComment > snapToGrid

comments.RenderedWorkspaceComment.snapToGrid() method

Snap this comment to the nearest grid point.

Signature:

snapToGrid(): void;

Returns:

void