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