Home > blockly > comments > CommentBarButton > getSize
comments.CommentBarButton.getSize() method
Returns the dimensions of this button in workspace coordinates.
Signature:
getSize(includeMargin?: boolean): Rect;
Parameters
| Parameter | Type | Description |
|---|---|---|
| includeMargin | boolean | (Optional) True to include the margin when calculating the size. |
Returns:
The size of this button.