Gets or sets the image displayed by this node.
Namespace: MindFusion.Diagramming
File: ShapeNode.js
JavaScript Copy Code |
---|
get image() {} |
HTMLImageElement
An image object to render as node's content.
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.
JavaScript Pack Programmer's Guide | © 2024 MindFusion |