Writes a reference to the specified brush. The brush is registered within the internal hashtable for subsequent serialization.
Namespace: MindFusion.Diagramming
Package: XmlPersistContext.js
JavaScript Copy Code |
---|
function writeBrush (brush, elementName, parentElement) |
The Brush object that should be saved in current XML document.
A string specifying the name of the new element.
The parent DOM Element object.
Type: Element
The newly created DOM Element object.