public void AddPoint(PointD point) { Points.Add(point); }
public Line(int x1, int y1, int x2, int y2) { From = new PointD(x1, y1); To = new PointD(x2, y2); }
public Line(double x1, double y1, double x2, double y2) { From = new PointD(x1, y1); To = new PointD(x2, y2); }
public Line(Point p1, Point p2) { From = new PointD(p1); To = new PointD(p2); }
public Line(PointD p1, PointD p2) { From = p1; To = p2; }
public Line() { From = new PointD(); To = new PointD(); }