AciColorToHsl Method (AciColor)
|
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 Vector3 ToHsl(
AciColor color
)
Public Shared Function ToHsl (
color As AciColor
) As Vector3
public:
static Vector3 ToHsl(
AciColor^ color
)
static member ToHsl :
color : AciColor -> Vector3
STATIC METHOD ToHsl(
color AS AciColor
) AS Vector3
Parameters
- color
- Type: DXFReaderNETAciColor
A color.
Return Value
Type:
Vector3A Vector3 where the three coordinates x, y, z represents the hue, saturation, and lightness components (output values range from 0 to 1).
See Also