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

            painter    = new PolygonPainter();
            calculator = new LineCalculator();
            mover      = new PolygonMover();
            checker    = new PolygonChecker();
        }
Ejemplo n.º 2
0
        public IsoscelesTriangleTestFigure(Color color, int width)
        {
            points   = new List <Point>();
            this.pen = new Pen(color, width);

            painter    = new PolygonPainter();
            calculator = new RectangleCalculator();
            mover      = new PolygonMover();
            checker    = new PolygonChecker();
        }
Ejemplo n.º 3
0
        public IsoscelesTriangleTestFigure(Pen pen)
        {
            points   = new List <Point>();
            this.pen = pen;

            painter    = new PolygonPainter();
            calculator = new RectangleCalculator();
            mover      = new PolygonMover();
            checker    = new PolygonChecker();
        }
Ejemplo n.º 4
0
        public IsoscelesTriangleTestFigure()
        {
            points = new List <Point>();

            painter         = new PolygonPainter();
            calculator      = new RectangleCalculator();
            mover           = new PolygonMover();
            checker         = new PolygonChecker();
            checkerInVertex = new PolygonChecker();
        }
Ejemplo n.º 5
0
        public LineFigure(Color color, int width)
        {
            points   = new List <Point>();
            this.pen = new Pen(color, width);

            painter    = new PolygonPainter();
            calculator = new LineCalculator();
            mover      = new PolygonMover();
            checker    = new PolygonChecker();
        }
Ejemplo n.º 6
0
        public LineFigure(Pen pen)
        {
            points   = new List <Point>();
            this.pen = pen;

            painter    = new PolygonPainter();
            calculator = new LineCalculator();
            mover      = new PolygonMover();
            checker    = new PolygonChecker();
        }