This repository has been archived by the owner on Oct 11, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 416
fc1ab938 f1f5 635e c9c4 edf0fd2dd7d6
haplokuon edited this page May 6, 2023
·
1 revision
netDxf 3.0.0 Library
Converts the RGB (red, green, blue) components of an AciColor to HSL (hue, saturation, lightness) values.
Namespace: netDxf
Assembly: netDxf (in netDxf.dll) Version: 3.0.0
C#
public static Vector3 ToHsl(
AciColor color
)
VB
Public Shared Function ToHsl (
color As AciColor
) As Vector3
C++
public:
static Vector3 ToHsl(
AciColor^ color
)
F#
static member ToHsl :
color : AciColor -> Vector3
Vector3
A Vector3 where the three coordinates x, y, z represents the hue, saturation, and lightness components (output values range from 0 to 1).