Coordinate type for List used with DrawablePolygon
Posted: 2017-11-02T07:31:15-07:00
Magick.NET version 7.0.7.700-Q16-x64
I'm trying to draw a polygon on my image. Apparently this needs a list of coordinates. I've found this code online:
But I can't find which namespace the Coordinate class comes from.
I'm a newbie at .NET so I'm probably missing something fairly obvious. Thanks for any help!
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!