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); }
public Line(Vector startPoint, Vector endPoint, Color color) { StartPoint = startPoint; EndPoint = endPoint; this.color = color; Le_Engine.RegisterLine(this); }