Search
XmlPersistContext.readBrush Method
See Also
 





Reads a Brush object with the specified name.

Namespace: MindFusion.Diagramming
File: XmlPersistContext.js

 Syntax

JavaScript  Copy Code

function readBrush (elementName, parentElement, [defaultValue])

 Parameters

elementName

String. A string specifying the name of the brush XML element.

parentElement

Element. The parent DOM Element object.

defaultValue
Optional.

Object. The default brush to return if specified child XML element does not exist.

 Return Value

Object. The brush object loaded from XML.

 See Also