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

91a185e1 1b40 6adb 1222 796c1027588d

haplokuon edited this page May 6, 2023 · 1 revision

ToHsl(AciColor, Vector3) Method

netDxf 3.0.0 Library

Converts the RGB (red, green, blue) components of an AciColor to HSL (hue, saturation, lightness) values.

Definition

Namespace: netDxf
Assembly: netDxf (in netDxf.dll) Version: 3.0.0

C#

public static void ToHsl(
	AciColor color,
	out Vector3 hsl
)

VB

Public Shared Sub ToHsl ( 
	color As AciColor,
	<OutAttribute> ByRef hsl As Vector3
)

C++

public:
static void ToHsl(
	AciColor^ color, 
	[OutAttribute] Vector3% hsl
)

F#

static member ToHsl : 
        color : AciColor * 
        hsl : Vector3 byref -> unit 

Parameters

  AciColor
A color.
  Vector3
A Vector3 containing the hue, saturation, and lightness components (output values range from 0 to 1).

See Also

Reference

AciColor Class
ToHsl Overload
netDxf Namespace

Clone this wiki locally