public Drawer(Graph graph, Pen graphPen, Pen axesPen, Pen functionPen, Color backColor) { _graph = graph; GraphPen = graphPen; FunctionPen = functionPen; _axesPen = axesPen; _backColor = backColor; _currentFunctions = new List<Function>(); DrawGrid = DrawTicks = DrawAxes = true; }
public Drawer(Graph graph, Pen functionPen, Color backColor) : this(graph, new Pen(Brushes.Black, 2), new Pen(Brushes.Black, 2), functionPen, backColor) { }
public Drawer(Graph graph, Pen functionPen) : this(graph, new Pen(Brushes.Black, 2), new Pen(Brushes.Black, 2), functionPen, Color.White) { }
public Drawer(Graph graph, Color backColor) : this(graph, new Pen(Brushes.Black, 2), new Pen(Brushes.Black, 2), new Pen(Brushes.Black, 2), backColor) { }
public Drawer(Graph graph) : this(graph, new Pen(Brushes.Black, 2), new Pen(Brushes.Black, 2), new Pen(Brushes.Black, 2), Color.White) { }