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 414
4f4c70f8 a621 d9d9 e378 ba72f8ef111a
haplokuon edited this page May 6, 2023
·
1 revision
netDxf 3.0.0 Library
Converts HSL (hue, saturation, lightness) value to an AciColor.
Namespace: netDxf
Assembly: netDxf (in netDxf.dll) Version: 3.0.0
C#
public static AciColor FromHsl(
double hue,
double saturation,
double lightness
)
VB
Public Shared Function FromHsl (
hue As Double,
saturation As Double,
lightness As Double
) As AciColor
C++
public:
static AciColor^ FromHsl(
double hue,
double saturation,
double lightness
)
F#
static member FromHsl :
hue : float *
saturation : float *
lightness : float -> AciColor
- Double
- Hue (input values range from 0 to 1).
- Double
- Saturation (input values range from 0 to 1).
- Double
- Lightness (input values range from 0 to 1).
AciColor
An AciColor that represents the actual HSL value.