ColorLAB Structure |
Namespace: Rhino.Display
The ColorLAB type exposes the following members.
| Name | Description | |
|---|---|---|
| ColorLAB(Color) |
Constructs a new instance of ColorLAB that is equivalent to an ARGB color.
| |
| ColorLAB(Double, Double, Double) |
Constructs a new instance of ColorLAB with custom channel values.
| |
| ColorLAB(Double, Double, Double, Double) |
Constructs a new instance of ColorLAB with custom channel values.
|
| Name | Description | |
|---|---|---|
| A |
Gets or sets the Base channel. The channel is limited to -1~+1.
| |
| Alpha |
Gets or sets the Alpha channel. The channel is limited to 0~1.
| |
| B |
Gets or sets the Opponent channel. The channel is limited to -1~+1.
| |
| L |
Gets or sets the lightness channel. The channel is limited to 0~1.
|
| Name | Description | |
|---|---|---|
| CreateFromCMYK |
Create the nearest LAB equivalent of a CMYK color.
| |
| CreateFromHSL |
Create the nearest LAB equivalent of an HSL color.
| |
| CreateFromHSV |
Constructs the nearest LAB equivalent of an HSV color.
| |
| CreateFromLCH |
Create the nearest LAB equivalent of an LCH color.
| |
| CreateFromRGBA |
Create the nearest LAB equivalent of an RGBA color.
| |
| CreateFromXYZ |
Create the nearest LAB 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 | |
|---|---|---|
| (ColorLAB to Color) |
Implicitly converts a LAB color into a .Net library color.
|