Пример #1
0
        public static AnyUiColor FromRgb(byte r, byte g, byte b)
        {
            var res = new AnyUiColor();

            res.A = 0xff;
            res.R = r;
            res.G = g;
            res.B = b;
            return(res);
        }
Пример #2
0
 public AnyUiBrush(UInt32 c)
 {
     solidColorBrush = new AnyUiColor(c);
 }
Пример #3
0
 public AnyUiBrush(AnyUiColor c)
 {
     solidColorBrush = c;
 }