public void AddGraphic(int id, DrawerFunction.Function F, string name, typeView type) { if (IsGraphicExists(id)) { return; } functions.Add(new DrawerFunction(id, F, name, type)); needRedrawAxes = true; }
public DrawerFunction(int id, List <PointF> points, string name, typeView type) { ID = id; RealPoints = points; Name = name; this.type = type; GraphicColor = colors[GraphicsCount % colors.Length]; GraphicBrush = brushes[GraphicsCount++ % brushes.Length]; GraphicInfo = new GraphicInfo(Name, GraphicBrush); singlePoints = true; }
public DrawerFunction(int id, Function func, String name, typeView type) { ID = id; GraphicFunction = func; Name = name; this.type = type; //GraphicColor = colors[GraphicsCount % colors.Length]; GraphicColor = colors[id % colors.Length]; //GraphicBrush = brushes[GraphicsCount++ % brushes.Length]; GraphicBrush = brushes[id % brushes.Length]; GraphicInfo = new GraphicInfo(Name, GraphicBrush); }
public pageView(int id, typeView type, string path) { ID = id; Type = type; Path = path; }
public pageView(int id, typeView type) { ID = id; Type = type; }