예제 #1
0
 /// <summary>
 /// Create the nearest LCH equivalent of a CMYK color.
 /// </summary>
 /// <param name="cmyk">Target color in CMYK space.</param>
 /// <returns>The LCH equivalent of the CMYK color.</returns>
 public static ColorLCH CreateFromCMYK(ColorCMYK cmyk)
 {
   return new ColorLCH(cmyk);
 }
예제 #2
0
 /// <summary>
 /// Create the nearest HSL equivalent of a CMYK color.
 /// </summary>
 /// <param name="cmyk">Target color in CMYK space.</param>
 /// <returns>The HSL equivalent of the CMYK color.</returns>
 public static ColorHSL CreateFromCMYK(ColorCMYK cmyk)
 {
   return new ColorHSL(cmyk);
 }
예제 #3
0
 /// <summary>
 /// Create the nearest XYZ equivalent of a CMYK color.
 /// </summary>
 /// <param name="cmyk">Target color in CMYK space.</param>
 /// <returns>The XYZ equivalent of the CMYK color.</returns>
 public static ColorXYZ CreateFromCMYK(ColorCMYK cmyk)
 {
   return new ColorXYZ(cmyk);
 }
예제 #4
0
 /// <summary>
 /// Create the nearest LCH equivalent of a CMYK color.
 /// </summary>
 /// <param name="cmyk">Target color in CMYK space.</param>
 /// <returns>The LCH equivalent of the CMYK color.</returns>
 public static ColorLCH CreateFromCMYK(ColorCMYK cmyk)
 {
     return(new ColorLCH(cmyk));
 }
예제 #5
0
 /// <summary>
 /// Create the nearest HSL equivalent of a CMYK color.
 /// </summary>
 /// <param name="cmyk">Target color in CMYK space.</param>
 /// <returns>The HSL equivalent of the CMYK color.</returns>
 public static ColorHSL CreateFromCMYK(ColorCMYK cmyk)
 {
     return(new ColorHSL(cmyk));
 }
예제 #6
0
 /// <summary>
 /// Create the nearest XYZ equivalent of a CMYK color.
 /// </summary>
 /// <param name="cmyk">Target color in CMYK space.</param>
 /// <returns>The XYZ equivalent of the CMYK color.</returns>
 public static ColorXYZ CreateFromCMYK(ColorCMYK cmyk)
 {
     return(new ColorXYZ(cmyk));
 }