UWP中是否有等价于Geometry.FillContains

Is there an equivalent of Geometry.FillContains in UWP

我需要确定点是否在给定路径内。

在 WPF 中,我能够使用 Geometry.FillContains:https://docs.microsoft.com/en-us/dotnet/api/system.windows.media.geometry.fillcontains?view=netframework-4.8#System_Windows_Media_Geometry_FillContains_System_Windows_Point_

如何在 UWP 中执行相同的操作?

我知道 Win2D 为您提供了更多关于几何的功能,我相信包括命中测试。

快速 Google 搜索为我提供了这个问答,它可以为您指明正确的方向 -