Return the coordinates of the top-left corner of this comment relative to the drawing surface's origin (0,0), in workspace units. If the comment is on the workspace, (0, 0) is the origin of the workspace coordinate system. This does not change with workspace scale.
Object with .x and .y properties in workspace coordinates.
Return the root node of the SVG or null if none exists.
The root SVG node (probably a group).
Get stored location.
The comment's stored location. This is not valid if the comment is currently being dragged.
Get whether this comment is editable or not.
True if editable.
Move this comment during a drag, taking into account whether we are using a drag surface to translate blocks.
The surface that carries rendered items during a drag, or null if no drag surface is in use.
The location to translate to, in workspace coordinates.
Set whether auto-layout of this bubble is enabled. The first time a bubble is shown it positions itself to not cover any blocks. Once a user has dragged it to reposition, it renders where the user put it.
True if auto-layout should be enabled, false otherwise.
Set whether this comment is editable or not.
True if editable.
Encode a comment subtree as XML, but don't serialize the XY coordinates. This method avoids some expensive metrics-related calls that are made in toXmlWithXY().
Optionalopt_noId: booleanTrue if the encoder should skip the comment ID.
Tree of XML elements.
Encode a comment subtree as XML with XY coordinates.
Optionalopt_noId: booleanTrue if the encoder should skip the comment ID.
Tree of XML elements.
Fake class which should be extended to avoid inheriting static properties