Converts HSL (hue, saturation, lightness) value to an
AciColor.
Namespace:
DXFReaderNET
Assembly:
DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax public static AciColor FromHsl(
double hue,
double saturation,
double lightness
)
Public Shared Function FromHsl (
hue As Double,
saturation As Double,
lightness As Double
) As AciColor
public:
static AciColor^ FromHsl(
double hue,
double saturation,
double lightness
)
static member FromHsl :
hue : float *
saturation : float *
lightness : float -> AciColor
STATIC METHOD FromHsl(
hue AS REAL8,
saturation AS REAL8,
lightness AS REAL8
) AS AciColor
Parameters
- hue
- Type: SystemDouble
Hue (input values range from 0 to 1). - saturation
- Type: SystemDouble
Saturation percentage (input values range from 0 to 1). - lightness
- Type: SystemDouble
Lightness percentage (input values range from 0 to 1).
Return Value
Type:
AciColorAn
AciColor that represents the actual HSL value.
See Also