Exemple #1
0
 /// <summary>
 /// Create an <c>HSLColor</c> from the specified <see cref="ExtendedColor"/>
 /// </summary>
 /// <param name="color">The <see cref="ExtendedColor"/></param>
 public HSLColor(ExtendedColor color)
 {
     this.hue        = color.Hue;
     this.saturation = color.Saturation;
     this.luminance  = color.Luminance;
 }
 /// <summary>
 /// Create an <c>ExtendedColor</c> from another <c>ExtendedColor</c>
 /// </summary>
 /// <param name="other">The other <c>ExtendedColor</c></param>
 public ExtendedColor(ExtendedColor other)
 {
     this.color = other.color ;
 }
Exemple #3
0
		/// <summary>
		/// Create an <c>HSLColor</c> from the specified <see cref="ExtendedColor"/>
		/// </summary>
		/// <param name="color">The <see cref="ExtendedColor"/></param>
		public HSLColor(ExtendedColor color) {
			this.hue = color.Hue ;
			this.saturation = color.Saturation ;
			this.luminance = color.Luminance ;
		}
Exemple #4
0
 /// <summary>
 /// Create an <c>ExtendedColor</c> from another <c>ExtendedColor</c>
 /// </summary>
 /// <param name="other">The other <c>ExtendedColor</c></param>
 public ExtendedColor(ExtendedColor other)
 {
     this.color = other.color;
 }