HitTest Method
Hit test the geometry in this node.
Definition
Namespace: Avalonia.Rendering.SceneGraph
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
bool HitTest(
Point p
)
Function HitTest (
p As Point
) As Boolean
abstract HitTest :
p : Point -> bool
Parameters
- Point
- The point in global coordinates.
Return Value
Boolean
True if the point hits the node's geometry; otherwise false.
Remarks
This method does not recurse to childs, if you want to hit test children they must be hit tested manually.
See Also
Reference
ICustomDrawOperation Interface
Avalonia.Rendering.SceneGraph Namespace