public RhombusFigure() { points = new List <Point>(); painter = new PolygonPainter(); calculator = new RhombusCalculator(); mover = new PolygonMover(); mover = new PolygonMover(); checker = new PolygonChecker();; }
public RhombusFigure(Color color, int width) { points = new List <Point>(); this.pen = new Pen(color, width); painter = new PolygonPainter(); calculator = new RhombusCalculator(); mover = new PolygonMover(); mover = new PolygonMover(); checker = new PolygonChecker(); }
public RhombusFigure(Pen pen) { points = new List <Point>(); this.pen = pen; painter = new PolygonPainter(); calculator = new RhombusCalculator(); mover = new PolygonMover(); mover = new PolygonMover(); checker = new PolygonChecker(); }