Summary
Hit test the geometry in this node.
- Namespace
- Avalonia
.Rendering .SceneGraph - Containing Type
- IVisualNode
Syntax
bool HitTest(Point p)
Remarks
This method does not recurse to child
IVisualNode
s, if you want
to hit test children they must be hit tested manually.
Parameters
Name | Type | Description |
---|---|---|
p | Point | The point in global coordinates. |
Return Value
Type | Description |
---|---|
bool | True if the point hits the node's geometry; otherwise false. |