ColorCMYK.CreateFromXYZ Method

ColorCMYKCreateFromXYZ Method

Constructs the nearest CMYK equivalent of an XYZ color.

Namespace:  Rhino.Display
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public static ColorCMYK CreateFromXYZ(
	ColorXYZ xyz
)
Public Shared Function CreateFromXYZ ( 
	xyz As ColorXYZ
) As ColorCMYK

Parameters

xyz
Type: Rhino.DisplayColorXYZ
Target color in XYZ space.

Return Value

Type: ColorCMYK
The CMYK equivalent of the XYZ color.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.8
See Also