Exemplo n.º 1
0
        public BorderStyle(LineStyleCreator creator)
        {
            Left  = creator.Create();
            Right = creator.Create();

            Bottom = creator.Create();
            Top    = creator.Create();
        }
Exemplo n.º 2
0
        public BorderStyle(LineStyle leading, LineStyle trailing, LineStyle bottom,
                           LineStyle top)
        {
            Left  = new LineConfiguration(Color.Black, leading);
            Right = new LineConfiguration(Color.Black, trailing);

            Bottom = new LineConfiguration(Color.Black, bottom);
            Top    = new LineConfiguration(Color.Black, top);
        }
Exemplo n.º 3
0
        public BorderStyle(LineConfiguration left, LineConfiguration right, LineConfiguration bottom,
                           LineConfiguration top)
        {
            Left  = left;
            Right = right;

            Bottom = bottom;
            Top    = top;
        }
Exemplo n.º 4
0
 public static Border ToGoogleBorder(this LineConfiguration configuration)
 => new Border
 {
     Color = configuration.Color.ToGoogleColor(),
     Style = configuration.Style.ToGoogleLineStyle()
 };