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