AciColorToHsl Method (AciColor, Double, Double, Double)
|
Converts the RGB (red, green, blue) components of an
AciColor to HSL (hue, saturation, lightness) values.
Namespace:
DXFReaderNET
Assembly:
DXFReaderNET (in DXFReaderNET.dll) Version: 20.10.54
Syntax public static void ToHsl(
AciColor color,
out double hue,
out double saturation,
out double lightness
)
Public Shared Sub ToHsl (
color As AciColor,
<OutAttribute> ByRef hue As Double,
<OutAttribute> ByRef saturation As Double,
<OutAttribute> ByRef lightness As Double
)
public:
static void ToHsl(
AciColor^ color,
[OutAttribute] double% hue,
[OutAttribute] double% saturation,
[OutAttribute] double% lightness
)
static member ToHsl :
color : AciColor *
hue : float byref *
saturation : float byref *
lightness : float byref -> unit
STATIC METHOD ToHsl(
color AS AciColor,
hue OUT REAL8,
saturation OUT REAL8,
lightness OUT REAL8
) AS VOID
Parameters
- color
- Type: DXFReaderNETAciColor
A color. - hue
- Type: SystemDouble
Hue (output values range from 0 to 1). - saturation
- Type: SystemDouble
Saturation (output values range from 0 to 1). - lightness
- Type: SystemDouble
Lightness (output values range from 0 to 1).
See Also