Skip to content

Function: getCommentSize() ​

ts
function getCommentSize(comment): Size;

Get the dimensions of a comment based on its mode

Parameters ​

comment ​

Comment

Comment annotation

Returns ​

Size

Width and height