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

            _sut = _document.CreateCanvas();
            _page.AddCanvas(_sut);
        }
Ejemplo n.º 2
0
        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);
 }