/// <summary> /// Static function to convert a list of points into a polygon without having a local object instance /// </summary> public static Polygon Get(List<Point2D> data) { Polygon p = new Polygon(); p.Import(data); return p; }