Search
DiagramItem.pen Property
See Also
 





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

Namespace: MindFusion.Diagramming
File: DiagramItem.js

 Syntax

JavaScript  Copy Code

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

 Property Value

String

A string specifying the color name or hexadecimal value.

 Remarks

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

 See Also