Пример #1
0
 public Line(double StartX, double StartY, double EndX, double EndY, Color color)
 {
     StartPoint = new Vector(StartX, StartY);
     EndPoint   = new Vector(EndX, EndY);
     this.color = color;
     Le_Engine.RegisterLine(this);
 }
Пример #2
0
 public Line(Vector startPoint, Vector endPoint, Color color)
 {
     StartPoint = startPoint;
     EndPoint   = endPoint;
     this.color = color;
     Le_Engine.RegisterLine(this);
 }