Returns the diagram item that contains the specified point.
Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming
C#
![]() |
---|
public virtual DiagramItem HitTest ( |
Visual Basic
![]() |
---|
Public Overridable Function HitTest( _ |
A Microsoft.Maui.Graphics.Point value specifying the logical coordinates of a diagram point.
Specifies the size of the area around the item outlines where the point is still considered inside the item.
true to exclude child links from the search, or false otherwise.
true to exclude Locked items from the search, or false otherwise.
true to also consider adjustment handle locations (possibly outside of node's bounds), or false otherwise.
true to also consider item label locations (possibly outside of item's bounds).
The item that contains the specified point, or null if none found.
This method performs recursive search if items contain child items.
MindFusion.Diagramming Developer's Guide | © 2024 MindFusion |