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 line width of the ellipse.
Returns the screen coordinates of the center point (position) of the ellipse.
Returns the X radius of the ellipse.
Returns the Y radius of the ellipse.
Returns the rotation angle of the object, in degress.
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 line width of the ellipse.
Sets the screen coordinates of the top-left point (position) of the ellipse.
Sets the X radius of the ellipse.
Sets the X radius of the ellipse.
Sets the rotation angle of the object.
Number of degress to rotate.
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.
Update current screen coordinates with internal WCS-based. Only for resize.
2D markup Ellipse object interface.