private static Line2D CreateRedBox() { var line = new Line2D(new Vector2D(0.4f, 0.4f), new Vector2D(0.6f, 0.4f), Color.Red); line.ExtendLine(new Vector2D(0.6f, 0.6f)); line.ExtendLine(new Vector2D(0.4f, 0.6f)); line.ExtendLine(new Vector2D(0.4f, 0.4f)); return(line); }
private static Line2D CreateRedBox() { var line = new Line2D(new Vector2D(0.4f, 0.4f), new Vector2D(0.6f, 0.4f), Color.Red); line.ExtendLine(new Vector2D(0.6f, 0.6f)); line.ExtendLine(new Vector2D(0.4f, 0.6f)); line.ExtendLine(new Vector2D(0.4f, 0.4f)); return line; }