Esempio n. 1
0
 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;
 }
Esempio n. 2
0
 public Drawer(Graph graph, Pen functionPen, Color backColor)
     : this(graph, new Pen(Brushes.Black, 2), new Pen(Brushes.Black, 2), functionPen, backColor)
 {
 }
Esempio n. 3
0
 public Drawer(Graph graph, Pen functionPen)
     : this(graph, new Pen(Brushes.Black, 2), new Pen(Brushes.Black, 2), functionPen, Color.White)
 {
 }
Esempio n. 4
0
 public Drawer(Graph graph, Color backColor)
     : this(graph, new Pen(Brushes.Black, 2), new Pen(Brushes.Black, 2), new Pen(Brushes.Black, 2), backColor)
 {
 }
Esempio n. 5
0
 public Drawer(Graph graph)
     : this(graph, new Pen(Brushes.Black, 2), new Pen(Brushes.Black, 2), new Pen(Brushes.Black, 2), Color.White)
 {
 }