Exemplo n.º 1
0
 /// <summary>
 ///   Initializes a new instance of the <see cref="CorsairColor" /> class by cloning a existing <see cref="CorsairColor" />
 ///   .
 /// </summary>
 /// <param name="color">The <see cref="CorsairColor" /> the values are copied from.</param>
 public CorsairColor(CorsairColor color) : this(color.A, color.R, color.G, color.B)
 {
 }
Exemplo n.º 2
0
 /// <summary>
 ///   Initializes a new instance of the <see cref="LedUpateRequest" /> class.
 /// </summary>
 /// <param name="ledId">The id of the led to update.</param>
 /// <param name="color">The requested color of the led.</param>
 public LedUpateRequest(CorsairLedId ledId, CorsairColor color)
 {
     LedId = ledId;
     Color = color;
 }