ColorCMYK Structure |
Namespace: Rhino.Display
The ColorCMYK type exposes the following members.
Name | Description | |
---|---|---|
ColorCMYK(Color) |
Initializes a new instance of ColorCMYK that is equivalent to an ARGB color.
| |
ColorCMYK(Double, Double, Double) |
Initializes a new instance of ColorCMYK with custom channel values.
The cyan, magenta and yellow values will be adjusted based on their
combined darkness.
| |
ColorCMYK(Double, Double, Double, Double) |
Initializes a new instance of ColorCMYK with custom channel values.
| |
ColorCMYK(Double, Double, Double, Double, Double) |
Initializes a new instance of ColorCMYK with custom channel values.
|
Name | Description | |
---|---|---|
A |
Gets or sets the Alpha channel value.
Alpha channels are limited to the 0~1 range.
| |
C |
Gets or sets the Cyan channel value.
Cyan channels are limited to the 0~1 range.
| |
K |
Gets or sets the Key channel value.
Key channels are limited to the 0~1 range.
| |
M |
Gets or sets the Magenta channel value.
Magenta channels are limited to the 0~1 range.
| |
Y |
Gets or sets the Yellow channel value.
Yellow channels are limited to the 0~1 range.
|
Name | Description | |
---|---|---|
CreateFromHSL |
Constructs the nearest CMYK equivalent of an HSL color.
| |
CreateFromHSV |
Constructs the nearest CMYK equivalent of an HSV color.
| |
CreateFromLAB |
Constructs the nearest CMYK equivalent of a LAB color.
| |
CreateFromLCH |
Constructs the nearest CMYK equivalent of a LCH color.
| |
CreateFromRGBA |
Create the nearest CMYK equivalent of a RGBA color.
| |
CreateFromXYZ |
Constructs the nearest CMYK equivalent of an XYZ color.
| |
Equals | Indicates whether this instance and a specified object are equal. (Inherited from ValueType.) | |
GetHashCode | Returns the hash code for this instance. (Inherited from ValueType.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Name | Description | |
---|---|---|
(ColorCMYK to Color) |
Implicitly converts a CMYK color into a .Net library color.
|