public static bool Contains(this IFigure obj, Point[] points)
 {
     foreach (var p in points)
     {
         if (obj.Contains(p))
         {
             return(true);
         }
     }
     return(false);
 }