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 RGB 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.
| |
| CreateFromXYZ |
Create the nearest LCH equivalent of an XYZ color.
| |
| Equals | (Inherited from ValueType.) | |
| GetHashCode | (Inherited from ValueType.) | |
| GetType | (Inherited from Object.) | |
| MakePositive |
Ensure the Chromaticity of this color is positive.
| |
| ToString | (Inherited from ValueType.) |
| Name | Description | |
|---|---|---|
| (ColorLCH to Color) |
Implicitly converts a LCH color into a .Net library color.
|