Deletes the current object.
Enables or disables the ability to select and edit an object using the mouse.
Returns the height of the image. The original image is scaled to this height.
Returns the coordinates of the top-left point (position) of the image.
Returns the rotation angle of the object, in degress.
Returns the image source as a base64-encoded Data URL.
Returns the width of the image. The original image is scaled to this width.
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 height of the image. The image width will be automatically updated to match its aspect ratio.
Sets the coordinates of the top-left point (position) of the image.
Sets the rotation angle of the object.
Number of degress to rotate.
Sets the image source. External image URL is not supported, only base64-encoded Data URLs.
Image source as base64-encoded string.
Sets the width of the image. The image height will be automatically updated to match its aspect ratio.
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 Image object interface.