public static void Line(this IGeometryFigures _, double x1, double y1, double x2, double y2) { _.Line(new Point(x1, y1), new Point(x2, y2)); }
public void Line(Point p1, Point p2) { _figures.Line(p1, p2); }