Skip to main content

Home > blockly > comments > CommentView > setSize

comments.CommentView.setSize() method

Sets the size of the comment in workspace units, updates the view elements to reflect the new size, and triggers size change listeners.

Signature:

setSize(size: Size): void;

Parameters

ParameterTypeDescription
sizeSize

Returns:

void