Search
ContainerNode.HitTest Method
See Also
 






DiagramItem.HitTest override.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public override DiagramItem HitTest (
    Point point,
    double threshold,
    bool onlyNodes,
    bool onlyInteractive,
    bool includeHandles
)

Visual Basic  Copy Code

Public Overrides Function HitTest( _
    point As Point, _
    threshold As Double, _
    onlyNodes As Boolean, _
    onlyInteractive As Boolean, _
    includeHandles As Boolean _
) As DiagramItem

 Parameters

point

A Point value specifying the logical coordinates of a diagram point.

threshold

Specifies the size of the area around the item outlines where the point is still considered inside the item.

onlyNodes

true to exclude child links from the search.

onlyInteractive

true to exclude locked items from the search.

includeHandles

true to hit-test modification handles; otherwise, false.

 Return Value

The item that contains the specified point.

 Remarks

This method performs recursive search if items contain child items.

 See Also