blockly >评论 >RenderedWorkspaceComment >snapToGrid

comments.RenderedWorkspaceComment.snapToGrid() 方法

将此评论贴靠到最近的网格点。

Signature:

snapToGrid(): void;

返回

void