new Comment(id, text, x, y, width, height, minimized)
Parameters:
Name | Type | Description |
---|---|---|
id |
string | Id of the comment. |
text |
string | Text content of the comment. |
x |
number | X position of the comment on the workspace. |
y |
number | Y position of the comment on the workspace. |
width |
number | The width of the comment when it is full size. |
height |
number | The height of the comment when it is full size. |
minimized |
boolean | Whether the comment is minimized. |