R
renu
Hello,
I have drawn polygon on window. And I want to check wheather given
point is in that polygon region or not? How shold I find that? I have
created object of class region
GraphicsPath path = new GraphicsPath();
path.AddPolygon(pts); //////// Some points I have passed
Region rgn = new Region(path);
RegionData rgnDta = rgn.GetRegionData();
Now I have to check Wheather any point That I will give is in that
Region or not?
Please send me solution of this problem.
Thanks in advance.
I have drawn polygon on window. And I want to check wheather given
point is in that polygon region or not? How shold I find that? I have
created object of class region
GraphicsPath path = new GraphicsPath();
path.AddPolygon(pts); //////// Some points I have passed
Region rgn = new Region(path);
RegionData rgnDta = rgn.GetRegionData();
Now I have to check Wheather any point That I will give is in that
Region or not?
Please send me solution of this problem.
Thanks in advance.