In a Wpf Project, I have a path and i want to know that is the path contains this point ? how i can determine it?
Asked
Active
Viewed 927 times
1
hossein safavi
- 81
- 11
-
http://stackoverflow.com/questions/7044838/finding-points-contained-in-a-path-in-android – codeDom Nov 19 '16 at 23:02
1 Answers
2
Use the Geometry.FillContains method:
bool inside = path.Data.FillContains(point);
Clemens
- 117,112
- 10
- 139
- 247