ColorHSL Structure |
Namespace: Rhino.Display
The ColorHSL type exposes the following members.
Name | Description | |
---|---|---|
![]() | ColorHSL(Color) |
Constructs a new instance of ColorHSL that is equivalent to an ARGB color.
|
![]() | ColorHSL(Double, Double, Double) |
Constructs a new instance of ColorHSL with custom channel values.
|
![]() | ColorHSL(Double, Double, Double, Double) |
Constructs a new instance of ColorHSL with custom channel values.
|
Name | Description | |
---|---|---|
![]() | A |
Gets or sets the alpha channel value.
Alpha channels are limited to a 0~1 range.
|
![]() | H |
Gets or sets the hue channel value.
Hue channels rotate between 0.0 and 1.0.
|
![]() | L |
Gets or sets the luminance channel value.
Luminance channels are limited to a 0~1 range.
|
![]() | S |
Gets or sets the saturation channel value.
Saturation channels are limited to a 0~1 range.
|
Name | Description | |
---|---|---|
![]() ![]() | CreateFromCMYK |
Create the nearest HSL equivalent of a CMYK color.
|
![]() ![]() | CreateFromHSV |
Constructs the nearest HSL equivalent of an HSV color.
|
![]() ![]() | CreateFromLAB |
Create the nearest HSL equivalent of a LAB color.
|
![]() ![]() | CreateFromLCH |
Create the nearest HSL equivalent of a LCH color.
|
![]() ![]() | CreateFromRGBA |
Create the nearest HSL equivalent of a RGBA color.
|
![]() ![]() | CreateFromXYZ |
Create the nearest HSL 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.) |
![]() | ToArgbColor |
Convert HSL color to an equivalent System.Drawing.Color.
|
![]() | ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
Name | Description | |
---|---|---|
![]() ![]() | (ColorHSL to Color) |
Implicitly converts a ColorHSL in a .Net library color.
|