Ejemplo n.º 1
0
 /// <summary>
 /// Constructs an instance of the class using the settings of another
 /// instance.
 /// </summary>
 /// <param name="HlsColor">The instance to clone.</param>
 public HlsColor(HlsColor hls)
 {
     this.red        = hls.red;
     this.blue       = hls.blue;
     this.green      = hls.green;
     this.luminance  = hls.luminance;
     this.hue        = hls.hue;
     this.saturation = hls.saturation;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Constructs an instance of the class using the settings of another
 /// instance.
 /// </summary>
 /// <param name="HlsColor">The instance to clone.</param>
 public HlsColor(HlsColor hls)
 {
     this.red = hls.red;
     this.blue = hls.blue;
     this.green = hls.green;
     this.luminance = hls.luminance;
     this.hue = hls.hue;
     this.saturation = hls.saturation;
 }