Пример #1
0
 public bool IsEqual(ColorF color)
 {
     return((R == color.R) && (G == color.G) && (B == color.B) && (A == color.A));
 }
Пример #2
0
        public bool IsEqual(Color color)
        {
            ColorF o2 = ColorF.FromColor(color);

            return((R == o2.R) && (G == o2.G) && (B == o2.B) && (A == o2.A));
        }