Beispiel #1
0
 private static void CheckARGBValues(int alpha, int red, int green, int blue)
 {
     if (alpha > 255 || alpha < 0)
     {
         throw Color.CreateColorArgumentException(alpha, "alpha");
     }
     Color.CheckRGBValues(red, green, blue);
 }