Protected ReadonlyfactoryOptionallastOptionalparentAdds an inline comment which is represented by a block with text at certain position, which is attached to the node. When user translates a node, the comment will be translated as well. When user drops a comment on a node, the comment will be linked to the node.
Comment text
Comment position
Optionallink: stringNode ID the comment is linked with
comment that was created
Adds a frame comment. Represents a rectangle with a text and nodes linked to it. When user translates a comment, all linked nodes will be translated as well. When user drops a node on a comment, the node will be linked to the comment.