Initializes a new instance of the Shape class with the specified outline.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public Shape ( |
Visual Basic Copy Code |
---|
Public New ( _ |
An array containing even number of coordinate values, which define the points of the shape outline.
The specified array should contain even number of values. Each odd value represents the x-coordinate and each even value represents the y-coordinate of the corresponding point in the shape outline.
Exception Type | Condition |
---|---|
ArgumentException | The specified array is a null reference (Nothing in Visual Basic), does not contain even number of elements or contains less than six arguments. |
WpfDiagram Programmer's Guide | © 2024 MindFusion |