private void DrawVector(MyVector fromPoint, MyVector toPoint, Color color, int lineWidth) { _graphics.DrawLine(new Pen(color, lineWidth), fromPoint.ToPointF(), toPoint.ToPointF()); }
private static void DrawVector(Graphics graphics, MyVector fromPoint, MyVector toPoint, Color color) { graphics.DrawLine(new Pen(color), fromPoint.ToPointF(), toPoint.ToPointF()); }