Search
ShapeNode.image Property
See Also
 





Gets or sets the image displayed by this node.

Namespace: MindFusion.Diagramming
Package: ShapeNode.js

 Syntax

JavaScript  Copy Code

get image() {}
set image(value) {}

 Property Value

HTMLImageElement

An image object to render as node's content.

 Remarks

This property lets you display an image inside the node. Set the imageAlign property to specify how the image is aligned inside shape's area. By default, the image is displayed in the center of the bounding rectangle of the node.

 See Also