Search
Shape Constructor (CreatePathDelegate, CreatePathDelegate, String)
See Also
 





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

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

 Syntax

C#  Copy Code

public Shape (
    CreatePathDelegate outlineDelegate,
    CreatePathDelegate decorationsDelegate,
    string id
)

Visual Basic  Copy Code

Public New ( _
    outlineDelegate As CreatePathDelegate, _
    decorationsDelegate As CreatePathDelegate, _
    id As String _
)

 Parameters

outlineDelegate
A delegate called to generate PathGeometry objects representing the shape outline.
decorationsDelegate
A delegate called to generate PathGeometry objects representing the shape decorations.
id

The string identifier of the new shape.

 See Also