Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 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));
 }
Ejemplo n.º 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));
 }
Ejemplo n.º 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));
 }