Example #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 ;
		}
Example #2
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 ;
 }