DiagramItem.pen Property
See Also

Gets or sets the color used to stroke item's borders.

Namespace: MindFusion.Diagramming
Package: DiagramItem.js


JavaScript  Copy Code

get pen() {}
set pen(value) {}

 Property Value


A string specifying the color name or hexadecimal value.


This is synonim for the stroke property, and will be removed in future versions of the library.

 See Also