Bimap hit test in xamarin

leo150leo150 Leo SokolRUMember

How to check bitmap hit with point? C# .NET Framework 4.5 have System.Drawing.Drawing2D.GraphicsPath and I can write something like:

using (GraphicsPath path = new GraphicsPath())
{
    path.AddRectangle(bounds);
    path.Transform(matrix);
    return path.IsVisible(location.X, location.Y);
}

But in Xamarin documentation I can't find any classes like GraphicsPath, in addition I need test point with bitmap, not with bounds. How to make bitmap hit test?

Posts

Sign In or Register to comment.