Search
Shape.component Method
See Also
 






Creates a shape component.

Namespace: MindFusion.Diagramming
File: Shape.js

 Syntax

JavaScript  Copy Code

function component (id, [isOutline, [node]])

 Parameters

id

String. The identifier of the shape.

isOutline
Optional.

Boolean. A value indicating whether this shape defines the outline of its host node.

node
Optional.

CompositeNode. The host node of this component.

 Return Value

Shape. A reference to a Shape component with the specified identifier.

 See Also