ColorLCH Structure |
Namespace: Rhino.Display
The ColorLCH type exposes the following members.
Name | Description | |
---|---|---|
ColorLCH(Color) |
Constructs a new instance of ColorLCH that is equivalent to an ARGB color.
| |
ColorLCH(Double, Double, Double) |
Constructs a new instance of ColorLCH with custom channel values.
| |
ColorLCH(Double, Double, Double, Double) |
Constructs a new instance of ColorLCH with custom channel values.
|
Name | Description | |
---|---|---|
A |
Gets or sets the Alpha channel. The Alpha channel is limited to the 0~1 range.
| |
C |
Gets or sets the Chroma channel. Chroma is defined from -1.0 to +1.0.
| |
H |
Gets or sets the Hue channel. The hue channel is limited to the 0~360 degree range.
| |
L |
Gets or sets the Lightness channel.
|
Name | Description | |
---|---|---|
CreateFromCMYK |
Create the nearest LCH equivalent of a CMYK color.
| |
CreateFromHSL |
Create the nearest LCH equivalent of an HSL color.
| |
CreateFromLAB |
Create the nearest LCH equivalent of a LAB color.
| |
CreateFromRGBA |
Create the nearest LCH equivalent of an RGBA color.
| |
CreateFromXYZ |
Create the nearest LCH 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.) | |
MakePositive |
Ensure the Chromaticity of this color is positive.
| |
ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Name | Description | |
---|---|---|
(ColorLCH to Color) |
Implicitly converts a LCH color into a .Net library color.
|