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