Exemplo n.º 1
0
        public RhombusFigure()
        {
            points = new List <Point>();

            painter    = new PolygonPainter();
            calculator = new RhombusCalculator();
            mover      = new PolygonMover();
            mover      = new PolygonMover();
            checker    = new PolygonChecker();;
        }
Exemplo n.º 2
0
        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();
        }
Exemplo n.º 3
0
        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();
        }