blockly > comments > CommentView > setSize
comments.CommentView.setSize() method
Sets the size of the comment in workspace units, and updates the view elements to reflect the new size.
Signature:
setSize(size: Size): void;
Parameters
Parameter | Type | Description |
---|---|---|
size | Size |
Returns:
void