https://learn.microsoft.com/zh-cn/dotnet/api/system.windows.media.visual.hittestcore?view=netframework-4.8.1
Visual.HitTestCore Method (System.Windows.Media) | Microsoft Learn
Determines whether a point or geometry value is within the bounds of the visual object.
windows mediavisualmethodsystemmicrosoft