Search
Shape Constructor (ElementTemplate[], FillMode, String)
See Also
 





Initializes a new instance of the Shape class with the specified outline and id.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public Shape (
    ElementTemplate[] elements,
    FillMode fillMode,
    string id
)

Visual Basic  Copy Code

Public New ( _
    elements() As ElementTemplate, _
    fillMode As FillMode, _
    id As String _
)

 Parameters

elements
Refers to an array of shape template elements that define the outline of a shape. Can contain lines, arcs and Bézier curves.
fillMode
Specifies how areas are filled if the outline path intersects itself.
id
The string identifier of the new shape.

 See Also