public override void Arrange()
        {
            _document = new Document();
            _page = _document.AddPage();

            _sut = _document.CreateCanvas();
            _page.AddCanvas(_sut);
        }
        public override void Arrange()
        {
            _document = new Document();
            _page = _document.AddPage();

            _sut = _document.CreateCanvas();
            _page.AddCanvas(_sut);

            _sut.SetStrokeColor(Color.Blue);
            _sut.SetFillColor(Color.White);
        }
 public override void Arrange()
 {
     _document = new Document();
     _page = _document.AddPage();
     _sut = _document.CreateTextBox(new Rectangle(33, 12, 155, 255));
     var canvas = _document.CreateCanvas();
     canvas.SetStrokeColor(Color.Black);
     canvas.SetFillColor(Color.White);
     canvas.DrawBox(new Rectangle(33, 12, 155, 255));
     _page.AddCanvas(canvas);
 }
        public override void Arrange()
        {
            _sut = new Document();
            _textbox = _sut.CreateTextBox(new Rectangle(new Point(50, 50), new Size(50, 50)));
            _textbox.SetColor(Color.Blue);
            _textbox.SetFont(new FontProperties { Name = "Helvetica", Size = 10 });
            _textbox.AddText("dit is een testje dat iets langer is.");

            _canvas = _sut.CreateCanvas();
            _canvas.SetFillColor(Color.Black);
            _canvas.SetStrokeColor(Color.Black);
            _canvas.DrawLine(new Point(0, 0), new Point(50, 50));
        }
        public override void Arrange()
        {
            _sut = new Document();
            _title = _sut.CreateTextBox(new Rectangle(new Point(20, 20), new Size(170, 10)));
            _title.SetColor(Color.Black);
            _title.SetFont(new FontProperties { Name = "Helvetica", Size = 20 });
            _title.AddText("The select Model");

            _canvas1 = _sut.CreateCanvas();
            _canvas1.SetFillColor(Color.Azure);
            _canvas1.SetStrokeColor(Color.Black);

            var location = new Point(20, 45);
            var size = new Size(170, 110);
            _canvas1.DrawBox(location, size);
            _textbox1 = CreateTextbox(location, size, 10);

            _canvas2 = _sut.CreateCanvas();
            _canvas2.SetFillColor(Color.Azure);
            _canvas2.SetStrokeColor(Color.Black);

            _canvas2.DrawBox(new Point(20, 20), new Size(170, 115));
            _textbox2 = CreateTextbox(new Point(20, 20), new Size(170, 115), 20);
        }
        public override void Arrange()
        {
            _sut = new Document();

            _canvas1 = _sut.CreateCanvas();
            _canvas1.SetFillColor(Color.Azure);
            _canvas1.SetStrokeColor(Color.Black);

            var location = new Point(20, 45);
            var size = new Size(100, 50);
            _canvas1.DrawBox(location, size);

            for (var i = 30; i < 120; i += 10)
            {
                DrawVerticalRuler(i);
            }

            _textbox1 = CreateTextbox(location, size, 10, TextAlignment.Justify);
        }