Cristiano Ghersi
Cristiano Ghersi

Reputation: 2122

Is there an equivalent of Geometry.FillContains in UWP

I need to decide whether a Point is inside a given Path.

In WPF I was able to use Geometry.FillContains: https://learn.microsoft.com/en-us/dotnet/api/system.windows.media.geometry.fillcontains?view=netframework-4.8#System_Windows_Media_Geometry_FillContains_System_Windows_Point_

How can I do the same in UWP?

Upvotes: 0

Views: 267

Answers (1)

Adam McMahon
Adam McMahon

Reputation: 800

I know that Win2D gives you much more functionality with regards to Geometry, including hit testing I believe.

A quick Google search gives me this Q&A which could point you in the right direction - Win2D Geomery Hit Testing

Upvotes: 1

Related Questions