Search
FreeFormNode.HitTestHandle Method
See Also
 





DiagramNode.HitTestHandle override.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public override AdjustmentHandle HitTestHandle (
    PointF point,
    float distance
)

Visual Basic  Copy Code

Public Overrides Function HitTestHandle( _
    point As PointF, _
    distance As Single _
) As AdjustmentHandle

 Parameters

point

A PointF value specifying where to look for a selection handle.

distance

Maximum distance from a handle at which it is still considered as hit.

 Return Value

Returns an AdjustmentHandle instance representing the adjustment handle found at the specified location, or null if there is none.

 Remarks

FreeFormNode can return either a FreeFormHandle to modify the node's outline, or a NodeAdjustmentHandle to move or resize the node.

 See Also