Sets the image of the node.
Namespace: MindFusion.Diagramming
Package: ShapeNode.js
JavaScript Copy Code |
---|
function setImage (value) |
The HTMLImageElement image to assign to this node.
This property lets you display an image inside the node. Use the setImageAlign method to specify how the image is aligned to that area. By default, the image is displayed in the center of the bounding rectangle of the node.