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





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

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public Shape (
    ElementTemplate[] elements,
    FillRule fillRule,
    string id
)

Visual Basic  Copy Code

Public New ( _
    elements() As ElementTemplate, _
    fillRule As FillRule, _
    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.

fillRule

Specifies how areas are filled if the outline path intersects itself.

id

The string identifier of the new shape.

 See Also