Пример #1
0
        public Rectangle PlaceNewRectangle(Size rectangleSize)
        {
            var direction = _direction.GetNextDirection();
            var sector    = ChoseSectorByDirection(direction);

            return(sector.PlaceRectangle(direction, rectangleSize));
        }