Search
Shape.Equals Method
See Also
 





Checks whether this shape template is equivalent to the specified shape.

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

 Syntax

C#  Copy Code

public new bool Equals (
    Shape shape
)

Visual Basic  Copy Code

Public Shadows Function Equals( _
    shape As Shape _
) As Boolean

 Parameters

shape

The shape to check for equality with the current shape.

 Return Value

true if the current shape is equivalent to the specified shape; otherwise, false.

 Remarks

Two shapes are considered equivalent if they have the same fill type, the same number and type of segments and if the points of those segments are close enough to each other.

 See Also