Ejemplo n.º 1
0
 public Drower(Brush brush, IFigur figur, IFill fill)
 {
     this.brush  = brush;
     this.figure = figur;
     this.fill   = fill;
     points      = new List <Point>();
 }
Ejemplo n.º 2
0
 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();
 }
Ejemplo n.º 3
0
 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;
 }
Ejemplo n.º 4
0
 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);
 }
Ejemplo n.º 5
0
 public ClassFigure(Brush brush, IFigur figur, IFill fill) : base(brush, figur, fill)
 {
 }
Ejemplo n.º 6
0
 public UnPoligon(Brush brush, IFigur figur, IFill fill) : base(brush, figur, fill)
 {
 }
Ejemplo n.º 7
0
 public ClassLine(Brush brush, IFigur figur, IFill fill) : base(brush, null, null)
 {
     points = new List <Point>();
 }