I'm trying to draw a polygon on my image. Apparently this needs a list of coordinates. I've found this code online:
Code: Select all
List<Coordinate> coordinates = new List<Coordinate>();
coordinates.Add(new Coordinate(0, 0));
coordinates.Add(new Coordinate(500, 100));
coordinates.Add(new Coordinate(200, 400));
I'm a newbie at .NET so I'm probably missing something fairly obvious. Thanks for any help!