Shooting from the hip (basics only): Define
class Coord { public double X; public double Y; Coord(double x, double y) { X = x; Y = y; } }
class Line { public Coord P1; public Coord P2; Line(Coord p1, Coord p2) { P1 = p1; P2 = p2; } }
Then you can use var lines = new List<Line>()
and do lines.Add(new Line(new Coordinate(1,2), new Coordinate(3,4));
.
0
solved how can I add Line coordinates in a list and then use them to draw lines again? [closed]