Beispiel #1
0
 public static Color FromArgb(int alpha, int red, int green, int blue)
 {
     Color.CheckARGBValues(alpha, red, green, blue);
     return(new Color
     {
         state = 2,
         Value = (long)((alpha << 24) + (red << 16) + (green << 8) + blue)
     });
 }