Skip to content

Function: getCommentPosition() ​

ts
function getCommentPosition(comment): Point;

Get the position (center) of a comment

Parameters ​

comment ​

Comment

Comment annotation

Returns ​

Point

Center position