예제 #1
0
 /// <summary>
 /// Creates an XColor structure from the specified alpha value and color.
 /// </summary>
 public static XColor FromArgb(int alpha, XColor color)
 {
     color.A = ((byte)alpha) / 255.0;
     return(color);
 }