public Drower(Brush brush, IFigur figur, IFill fill) { this.brush = brush; this.figure = figur; this.fill = fill; points = new List <Point>(); }
public CreatedFigure(Brush brush, IFigur figur, IFill fill) { this.brush = brush; this.figur = figur; this.fill = fill; poin = new List <Point>(); centr = new Point(); f = new Point(); l = new Point(); }
private void button5_Click(object sender, EventArgs e) { abstractFabric = new FigureFabric(); Figure = new Poligon(); textBox3.Visible = true; Eraser = false; Pipetka = false; fill = false; Fill = null; toolStripDropDownButton1.Image = безЗаливкиToolStripMenuItem.Image; }
private void button2_Click(object sender, EventArgs e) { Figure = null; abstractFabric = new UncommonPoligon(); textBox3.Visible = false; Eraser = false; Pipetka = false; fill = false; isFirstPoligon = true; Fill = null; toolStripDropDownButton1.Image = безЗаливкиToolStripMenuItem.Image; drower = abstractFabric.CreateDrower(Figure, brush, Fill); }
public ClassFigure(Brush brush, IFigur figur, IFill fill) : base(brush, figur, fill) { }
public UnPoligon(Brush brush, IFigur figur, IFill fill) : base(brush, figur, fill) { }
public ClassLine(Brush brush, IFigur figur, IFill fill) : base(brush, null, null) { points = new List <Point>(); }