Deletes the current object.
Enables or disables the ability to select and edit an object using the mouse.
Returns the foreground color of an object's line or text as a string in hexadecimal color syntax
#RGB
using its primary color components (red, green, blue) written as hexadecimal numbers.
Returns the font size of the text.
Returns the coordinates of the top-left point (position) of the text.
Returns the rotation angle of the object, in degress.
Returns the text string.
Returns the Z-index of a object relative to sibling objects that are in the same group.
Z-Index is not absolute (like in CSS). It is relative to parent object group only:
images
- are olways at the bottomtexts
- are olways on topothers
- are always between images and textsReturns the internal identifier of the object. Not unique.
Returns a reference to a core markup library object (Konva, VisualizeJS, etc.).
Sets the foreground color of an object's line or text.
Color in hexadecimal color syntax #RGB
.
Sets the font size of the text.
Sets the coordinates of the top-left point (position) of the text.
Sets the rotation angle of the object.
Number of degress to rotate.
Sets the text string.
Sets the Z-index of a object relative to sibling objects that are in the same group.
Z-Index is not absolute (like in CSS). It is relative to parent object group only:
images
- are olways at the bottomtexts
- are olways on topothers
- are always between images and textsAn integer value of Z-Index.
Returns the type of the object.
2D markup Text object interface.