ICustomDrawOperationHitTest Method

Hit test the geometry in this node.

Definition

Namespace: Avalonia.Rendering.SceneGraph
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
C#
bool HitTest(
	Point p
)

Parameters

p  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