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 409
7d905fc8 b13d a8b4 fc90 289bf3aeafb6
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 void ToHsl(
AciColor color,
out double hue,
out double saturation,
out double lightness
)
VB
Public Shared Sub ToHsl (
color As AciColor,
<OutAttribute> ByRef hue As Double,
<OutAttribute> ByRef saturation As Double,
<OutAttribute> ByRef lightness As Double
)
C++
public:
static void ToHsl(
AciColor^ color,
[OutAttribute] double% hue,
[OutAttribute] double% saturation,
[OutAttribute] double% lightness
)
F#
static member ToHsl :
color : AciColor *
hue : float byref *
saturation : float byref *
lightness : float byref -> unit