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