Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

4f4c70f8 a621 d9d9 e378 ba72f8ef111a

haplokuon edited this page May 6, 2023 · 1 revision

FromHsl(Double, Double, Double) Method

netDxf 3.0.0 Library

Converts HSL (hue, saturation, lightness) value to an AciColor.

Definition

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 

Parameters

  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).

Return Value

AciColor
An AciColor that represents the actual HSL value.

See Also

Reference

AciColor Class
FromHsl Overload
netDxf Namespace

Clone this wiki locally